Thread (4 messages) 4 messages, 2 authors, 2015-07-14

[RESEND PATCH-v2] rtc: 88pm80x: add device tree support

From: Alexandre Belloni <hidden>
Date: 2015-07-09 11:55:43
Also in: linux-rtc, lkml

Hi,

On 09/07/2015 at 12:25:51 +0530, Vaibhav Hiremath wrote :
Along with DT support, this patch also cleans up the unnecessary
code around 'rtc_wakeup' initialization.

Signed-off-by: Chao Xie <redacted>
Signed-off-by: Vaibhav Hiremath <redacted>
No need to resend, I'll take it. I'm current busy with other things and
it is still early in the development cycle.
-	if (pm80x_pdata) {
-		pdata = pm80x_pdata->rtc;
-		if (pdata)
-			info->rtc_dev->dev.platform_data = &pdata->rtc_wakeup;
-	}
+	/* remeber whether this power up is caused by PMIC RTC or not */
I'll fix that typo...
+	info->rtc_dev->dev.platform_data = &pdata->rtc_wakeup;
 
-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help