Skip to contentSkip to conversation

drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 9, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 09 Jun 2014 12:29:07 -0700

The patch titled

     Subject: drivers/rtc/rtc-88pm860x.c: use of_get_child_by_name()
has been removed from the -mm tree.  Its filename was
     drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Krzysztof Kozlowski <[email protected]>
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.

---

 drivers/rtc/rtc-88pm860x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-88pm860x.c renamed from drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name +1 -1
diff -puN drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-use-of_get_child_by_name 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 [email protected] are

origin.patch
linux-next.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