Subject: + drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch added to -mm tree To: k.kozlowski@xxxxxxxxxxx,a.zummo@xxxxxxxxxxxx,haojian.zhuang@xxxxxxxxxx,jg1.han@xxxxxxxxxxx,sachin.kamat@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 23 Apr 2014 13:13:49 -0700 The patch titled Subject: drivers/rtc/rtc-88pm860x.c: use of_get_child_by_name() has been added to the -mm tree. Its filename is drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Subject: 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@xxxxxxxxxxx> Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxxx> Cc: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-88pm860x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name drivers/rtc/rtc-88pm860x.c --- a/drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name +++ a/drivers/rtc/rtc-88pm860x.c @@ -293,7 +293,7 @@ static int pm860x_rtc_dt_init(struct pla int ret; if (!np) return -ENODEV; - np = of_find_node_by_name(np, "rtc"); + np = of_get_child_by_name(np, "rtc"); if (!np) { dev_err(&pdev->dev, "failed to find rtc node\n"); return -ENODEV; _ Patches currently in -mm which might be from k.kozlowski@xxxxxxxxxxx are drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch linux-next.patch mfd-rtc-s5m-do-not-allocate-rtc-i2c-dummy-and-regmap-for-unsupported-chipsets.patch mfd-rtc-sec-s5m-rename-sec-symbols-to-s5m.patch rtc-s5m-remove-undocumented-time-init-on-first-boot.patch rtc-s5m-use-shorter-time-of-register-update.patch rtc-s5m-support-different-register-layout.patch rtc-s5m-add-support-for-s2mps14-rtc.patch rtc-s5m-consolidate-two-device-type-switch-statements.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html