path: root/Documentation/devicetree/bindings/leds
diff options
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-04-04 00:51:20 -0700
committerBryan Wu <cooloney@gmail.com>2014-05-08 14:28:08 +0800
commit1175d5bc7b490a5175c955b4e656f42577a43ecf (patch)
treefcc5dbd67343493161014d9aaa57a5afe30c357c /Documentation/devicetree/bindings/leds
parent77dfa771677f0af57b4093c81c5fdbd1946e8bc9 (diff)
leds: 88pm860x: Fix missing refcount decrement for parent of_node
The driver obtained the reference to parent->of_node but immediately it was overwritten by reference to child node 'leds'. The of_node_put at the end of DT parsing function decremented only the child 'leds' so effectively the reference to parent of_node leaked. Getting reference to parent->of_node is not needed at all so get rid of it to fix the reference count. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
0 files changed, 0 insertions, 0 deletions

Privacy Policy