RTC: sa1100: Clean out ost register
authorJett.Zhou <jtzhou@marvell.com>
Wed, 30 Nov 2011 06:29:44 +0000 (14:29 +0800)
committerArnd Bergmann <arnd@arndb.de>
Wed, 28 Dec 2011 10:42:21 +0000 (10:42 +0000)
These registers are used in old ioctl of UIE and PIE, now they are
emulated by rtc generic code of hrtimer, so it can be removed.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/rtc/rtc-sa1100.c

index 0b40bb88a88400fa8505ac83c7aa73606da9e183..6f22c1fdff66462342719636cc777b63714a0e62 100644 (file)
@@ -36,7 +36,6 @@
 
 #ifdef CONFIG_ARCH_PXA
 #include <mach/regs-rtc.h>
-#include <mach/regs-ost.h>
 #endif
 
 #define RTC_DEF_DIVIDER                (32768 - 1)
@@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev)
 {
        spin_lock_irq(&sa1100_rtc_lock);
        RTSR = 0;
-       OIER &= ~OIER_E1;
-       OSSR = OSSR_M1;
        spin_unlock_irq(&sa1100_rtc_lock);
 
        free_irq(IRQ_RTCAlrm, dev);