commit | 2054d6e90e26b01ac0f125a42fecba63f226e55e | [log] [tgz] |
---|---|---|
author | Rhyland Klein <rklein@nvidia.com> | Mon Jun 10 17:26:39 2013 -0400 |
committer | Anton Vorontsov <anton@enomsg.org> | Fri Jun 28 18:20:54 2013 -0700 |
tree | c0798e003a78f5196cd913a3e72a4ce9b0d8a771 | |
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>