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]>
1 file changed