]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-twl.c: simplify RTC interrupt clearing
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Fri, 23 Mar 2012 22:02:33 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:39 +0000 (16:58 -0700)
commitb04f6f19d9aae495c1f0126cf2216cd3050bdd5d
tree1f1fcdfbb741b6821b2f26d1f4c0442e03ac3f3d
parent9ba597ae3889177ff2ba6e55601a3efd04704baf
drivers/rtc/rtc-twl.c: simplify RTC interrupt clearing

For clearing RTC interrupt, programming ALARM bit only is sufficient, as
all other bits are any way not affected by writing 0 to them.

Hence removed unwanted OR operation.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-twl.c