Skip to contentSkip to conversation

+ drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 23, 2014 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 23 Apr 2014 13:13:50 -0700

The patch titled

     Subject: drivers/rtc/rtc-88pm860x.c: add missing of_node_put()
has been added to the -mm tree.  Its filename is
     drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch

This patch should soon appear at

    http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/drivers-rtc-rtc-88pm860xc-add-missing-of_node_put.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 <[email protected]>
Subject: drivers/rtc/rtc-88pm860x.c: add missing of_node_put()

Add missing of_node_put() to decrement the reference count.

---

 drivers/rtc/rtc-88pm860x.c |    1 +
 1 file changed, 1 insertion(+)
drivers/rtc/rtc-88pm860x.c renamed from drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-add-missing-of_node_put +1 -0
diff -puN drivers/rtc/rtc-88pm860x.c~drivers-rtc-rtc-88pm860xc-add-missing-of_node_put drivers/rtc/rtc-88pm860x.c
@@ -301,6 +301,7 @@ static int pm860x_rtc_dt_init(struct pla
 	ret = of_property_read_u32(np, "marvell,88pm860x-vrtc", &info->vrtc);
 	if (ret)
 		info->vrtc = 0;
+	of_node_put(np);
 	return 0;
 }
 #else

_

Patches currently in -mm which might be from [email protected] 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