Skip to contentSkip to conversation

drivers-rtc-rtc-s5mc-s5m_rtc_suspendresume-should-depend-on-config_pm_sleep.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 24, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-rtc-rtc-s5mc-s5m_rtc_suspendresume-should-depend-on-config_pm_sleep.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 11:03:00 -0800

The patch titled
Subject: drivers/rtc/rtc-s5m.c: s5m_rtc_{suspend,resume}() should depend on CONFIG_PM_SLEEP
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-s5mc-s5m_rtc_suspendresume-should-depend-on-config_pm_sleep.patch

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

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: drivers/rtc/rtc-s5m.c: s5m_rtc_{suspend,resume}() should depend on CONFIG_PM_SLEEP

If CONFIG_PM_SLEEP=n:

drivers/rtc/rtc-s5m.c:643: warning: s5m_rtc_resume' defined but not used drivers/rtc/rtc-s5m.c:654: warning: s5m_rtc_suspend' defined but not used

---

 drivers/rtc/rtc-s5m.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/rtc/rtc-s5m.c renamed from drivers/rtc/rtc-s5m.c~drivers-rtc-rtc-s5mc-s5m_rtc_suspendresume-should-depend-on-config_pm_sleep +2 -0
diff -puN drivers/rtc/rtc-s5m.c~drivers-rtc-rtc-s5mc-s5m_rtc_suspendresume-should-depend-on-config_pm_sleep drivers/rtc/rtc-s5m.c
@@ -639,6 +639,7 @@ static void s5m_rtc_shutdown(struct plat
 	s5m_rtc_enable_smpl(info, false);
 }
 
+#ifdef CONFIG_PM_SLEEP
 static int s5m_rtc_resume(struct device *dev)
 {
 	struct s5m_rtc_info *info = dev_get_drvdata(dev);
@@ -660,6 +661,7 @@ static int s5m_rtc_suspend(struct device
 
 	return ret;
 }
+#endif /* CONFIG_PM_SLEEP */
 
 static SIMPLE_DEV_PM_OPS(s5m_rtc_pm_ops, s5m_rtc_suspend, s5m_rtc_resume);
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch