rtc: tw4030 add alarm/update interfaces
authorAlessandro Zummo <a.zummo@towertech.it>
Thu, 15 Jan 2009 21:50:52 +0000 (13:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jan 2009 00:39:36 +0000 (16:39 -0800)
commita748384bba1754409383ba9f0738bffdfa3fd431
tree906b6a0d111c9b054242ec96d0bbde386bc95c7a
parentfb144adc517d9ebe8fd8d98a5696fb68ec91e1f5
rtc: tw4030 add alarm/update interfaces

- implement alarm_irq_enable
- return correct error code when registering fails

[dbrownell@users.sourceforge.net: build fixes, force 1/sec irqs]
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Samuel Ortiz <sameo@openedhand.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-twl4030.c