diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-23 23:02:33 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 00:58:39 +0100 |
commit | 94a339d016e26f96a1bd9e08306c857825c91a66 (patch) | |
tree | 1f1fcdfbb741b6821b2f26d1f4c0442e03ac3f3d /drivers/rtc/rtc-vr41xx.c | |
parent | drivers/rtc/rtc-twl.c: enable RTC irrespective of its prior state (diff) | |
download | linux-94a339d016e26f96a1bd9e08306c857825c91a66.tar.xz linux-94a339d016e26f96a1bd9e08306c857825c91a66.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions