diff options
author | Rhyland Klein <rklein@nvidia.com> | 2013-06-10 17:26:39 -0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-06-28 18:20:54 -0700 |
commit | 2054d6e90e26b01ac0f125a42fecba63f226e55e (patch) | |
tree | c0798e003a78f5196cd913a3e72a4ce9b0d8a771 /fs | |
parent | b50df95c8f0703c95625181d2eaf53855c5ebee5 (diff) |
power_supply: Add of_node_put to fix refcount
of_parse_phandle increments the refcount for a dt node before returning
it. Add of_node_put where needed to properly decrement the refcount when
we are done using a given node.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions