rtc: tw4030 add alarm/update interfaces
authorAlessandro Zummo <[email protected]>
Thu, 15 Jan 2009 21:50:52 +0000 (13:50 -0800)
committerLinus Torvalds <[email protected]>
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

[[email protected]: build fixes, force 1/sec irqs]
Signed-off-by: Alessandro Zummo <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: [email protected]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-twl4030.c