1
0
Files
linux/drivers
Krzysztof Kozlowski 1175d5bc7b 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>
2014-05-08 14:28:08 +08:00
..
2014-04-08 13:27:40 +02:00
2014-04-30 09:48:54 +10:00
2014-04-16 12:28:47 -07:00
2014-04-18 16:40:08 -07:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-04-16 14:07:51 -07:00