rtc-bfin: shrink/optimize interrupt handler a bit
authorMike Frysinger <vapier@gentoo.org>
Wed, 27 Oct 2010 22:33:03 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:05 +0000 (18:03 -0700)
commit286f9f95fcb165919125ef51bae23ef7a9f24008
tree3bc903ae64ed85dece1bdaba116917f314937ddd
parent9aa449bed21515a3406f60238ce4747e4118b628
rtc-bfin: shrink/optimize interrupt handler a bit

By unifying the RTC_ISTAT clearing steps, we shrink the interrupt handler
and avoid multiple writes to the hardware registers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: 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-bfin.c