rtc-at91rm9200: remove now-unneeded code
authorAndrew Victor <[email protected]>
Thu, 16 Oct 2008 05:03:08 +0000 (22:03 -0700)
committerLinus Torvalds <[email protected]>
Thu, 16 Oct 2008 18:21:40 +0000 (11:21 -0700)
The non-functional periodic IRQ support was previously removed from the
AT91RM9200 RTC driver.  Remove the remaining AT91_RTC_FREQ definition.

Signed-off-by: Andrew Victor <[email protected]>
Cc: David Brownell: <[email protected]>
Cc: Alessandro Zummo: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-at91rm9200.c

index 4e888cc8be5b1cacbeac68bd054ab3f6f65d295a..37082616482bd7a79ad3162ba00ca82bd260894e 100644 (file)
 #include <linux/completion.h>
 
 #include <asm/uaccess.h>
+
 #include <mach/at91_rtc.h>
 
 
-#define AT91_RTC_FREQ          1
 #define AT91_RTC_EPOCH         1900UL  /* just like arch/arm/common/rtctime.c */
 
 static DECLARE_COMPLETION(at91_rtc_updated);
@@ -228,8 +228,6 @@ static int at91_rtc_proc(struct device *dev, struct seq_file *seq)
                        (imr & AT91_RTC_ACKUPD) ? "yes" : "no");
        seq_printf(seq, "periodic_IRQ\t: %s\n",
                        (imr & AT91_RTC_SECEV) ? "yes" : "no");
-       seq_printf(seq, "periodic_freq\t: %ld\n",
-                       (unsigned long) AT91_RTC_FREQ);
 
        return 0;
 }