Laxman Dewangan eb5eba4ef7 drivers/rtc/rtc-tps65910.c: enable/disable wake in suspend/resume
Making the rtc driver as wakeup capabale and leaving the wake
enable/disable decision to user space through a sysfs attribute.

In suspend, enable wake if device wakeup enabled.  In resume disable wake
again.

This change is inline with the Documentation/power/devices.txt#
/sys/devices/.../power/wakeup files

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-21 17:22:28 -08:00
..
2011-08-26 17:26:35 -07:00
2013-02-21 17:22:27 -08:00
2012-12-17 17:15:20 -08:00
2009-04-02 01:05:32 +00:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00