drivers-rtc-rtc-twlc-fix-rtcx-wakealarm-attribute-isnt-created.patch removed from -mm tree
Subject: [merged] drivers-rtc-rtc-twlc-fix-rtcx-wakealarm-attribute-isnt-created.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 05 Aug 2013 12:05:57 -0700
The patch titled
Subject: drivers/rtc/rtc-twl.c: fix: rtcX/wakealarm attribute isn't created
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-twlc-fix-rtcx-wakealarm-attribute-isnt-created.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Grygorii Strashko <[email protected]>
Subject: drivers/rtc/rtc-twl.c: fix: rtcX/wakealarm attribute isn't created
The device_init_wakeup() should be called before rtc_device_register(). Otherwise, sysfs "sys/class/rtc/rtcX/wakealarm" attribute will not be seen from User space.
---
drivers/rtc/rtc-twl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/rtc/rtc-twl.c renamed from drivers/rtc/rtc-twl.c~drivers-rtc-rtc-twlc-fix-rtcx-wakealarm-attribute-isnt-created +2 -1
@@ -524,6 +524,8 @@ static int twl_rtc_probe(struct platformif (ret <0 ) goto out1; +device_init_wakeup (&pdev->dev,1 ); + rtc =rtc_device_register (pdev->name, &pdev->dev, &twl_rtc_ops,THIS_MODULE );if (IS_ERR (rtc)) {
@@ -542,7 +544,6 @@ static int twl_rtc_probe(struct platform }platform_set_drvdata (pdev, rtc); -device_init_wakeup (&pdev->dev,1 );return 0 ; out2:
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch