From: Venu Byravarasu Date: Fri, 23 Mar 2012 22:02:32 +0000 (-0700) Subject: drivers/rtc/rtc-twl.c: optimize IRQ bit access X-Git-Tag: v3.4-rc1~109^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce9f650636d310e4c8febc821b0038e9918a12db;p=pandora-kernel.git 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 Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed