rtc: update vr41xx alarm handling
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 8 May 2007 07:33:50 +0000 (00:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:18 +0000 (11:15 -0700)
commit9b5ef64a3a73757f1acdfb8565b5105115fc6e62
tree9ab0d3b5e2d60160f85a24873e8b428dc5be2941
parent09a21e56dc3767ce444e21c1383d587b261af13c
rtc: update vr41xx alarm handling

- vr41xx_rtc_read_alarm() reports alarm enabled.
- vr41xx_rtc_set_alarm() sets alarm disable/enable by rtc_wkalrm.enabled.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-vr41xx.c