]> git.karo-electronics.de Git - linux-beck.git/commit
leds: 88pm860x: Use of_get_child_by_name
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 4 Apr 2014 07:51:19 +0000 (00:51 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 8 May 2014 06:28:08 +0000 (14:28 +0800)
commit77dfa771677f0af57b4093c81c5fdbd1946e8bc9
treebe889454af571e371613d0ddf6deeec9e4c73092
parentb0571e7e4ec4d62b27711758417c388042f7bae7
leds: 88pm860x: Use of_get_child_by_name

Use of_get_child_by_name to obtain reference to charger node instead of
of_find_node_by_name which can walk outside of the parent node.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-88pm860x.c