diff options
author | Rhyland Klein <rklein@nvidia.com> | 2013-06-10 21:26:39 (GMT) |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-06-29 01:20:54 (GMT) |
commit | 2054d6e90e26b01ac0f125a42fecba63f226e55e (patch) | |
tree | c0798e003a78f5196cd913a3e72a4ce9b0d8a771 /include/asm-generic/unistd.h | |
parent | b50df95c8f0703c95625181d2eaf53855c5ebee5 (diff) | |
download | linux-fsl-qoriq-2054d6e90e26b01ac0f125a42fecba63f226e55e.tar.xz |
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 'include/asm-generic/unistd.h')
0 files changed, 0 insertions, 0 deletions