Venu Byravarasu 2778ebcc09 drivers/rtc/rtc-twl.c: return correct RTC event from ISR
Following changes are made as part of this change:

1. As TWL RTC supports periodic interrupt, the correct event should be
   RTC_PF instead of RTC_UF.

2. No need to initialize variable "events" to 0 & then OR it with the
   event values.  Hence fixing it.

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>
2012-03-23 16:58:39 -07:00
..
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2009-02-11 14:25:36 -08:00
2011-06-01 19:29:39 -07:00
2009-04-01 08:59:24 -07:00
2011-08-26 17:26:35 -07:00
2009-04-02 01:05:32 +00:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00