drivers/rtc/rtc-ds3232.c: enable ds3232 to work as wakeup source
authorWang Dongsheng <dongsheng.wang@freescale.com>
Thu, 3 Apr 2014 21:50:08 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:22 +0000 (16:21 -0700)
commitc93a3ae2d213ff75a279fe6e28d8f41ca7f01483
tree49c5761171306c5ccd4bb5803f0fe189f32ef93c
parent3f93822d36fc8413658a67f5fb853bbe1b2a1f4d
drivers/rtc/rtc-ds3232.c: enable ds3232 to work as wakeup source

Add suspend/resume and device_init_wakeup to enable ds3232 as wakeup
source, /sys/class/rtc/rtcX/wakealarm for set wakeup alarm.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds3232.c