]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-88pm860x.c: use of_get_child_by_name()
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 22 May 2014 00:43:49 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:49 +0000 (10:43 +1000)
commit5d86ce32b6050a10d7ab41e608249ba541c37800
treedd47ba094bd86cbdb93681d773bc769dc9bb5ed9
parentfc5949bab624033f2ebdc2a70946c88812845ae5
drivers/rtc/rtc-88pm860x.c: 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>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-88pm860x.c