commit | ce9f650636d310e4c8febc821b0038e9918a12db | [log] [tgz] |
---|---|---|
author | Venu Byravarasu <[email protected]> | Fri Mar 23 15:02:32 2012 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Mar 23 16:58:39 2012 -0700 |
tree | 3165a949b121068c6c62b42bb9c77f20cb53f5e4 | |
parent | b4f0b880c8d7eb225b79dec663780b4dcdea7fbc [diff] |
drivers/rtc/rtc-twl.c: optimize IRQ bit access As the TWL RTC driver has a cached copy of enabled RTC interrupt bits in variable rtc_irq_bits, that can be checked before really setting or masking any of the interrupt bits. Signed-off-by: Venu Byravarasu <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>