diff options
author | Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> | 2011-02-07 16:16:06 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-03-09 14:25:05 -0500 |
commit | 4cebe7aadc9ee8e7b44857b7aba3a878870cef65 (patch) | |
tree | 9e4c5b24e8ce8c7055f1f52f3bada27dc34940c0 /drivers/rtc | |
parent | bca8521c551afcd926bdc8f814ebaefcb8215c57 (diff) |
RTC: Remove UIE and PIE information from the sa1100 driver proc.
This patch removes the UIE and PIE information that is now being
supplied directly in the generic RTC code.
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
CC: rtc-linux@googlegroups.com
Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-sa1100.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index a9189337a2c5..41f62ca68dc4 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c | |||
@@ -351,15 +351,8 @@ static int sa1100_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) | |||
351 | 351 | ||
352 | static int sa1100_rtc_proc(struct device *dev, struct seq_file *seq) | 352 | static int sa1100_rtc_proc(struct device *dev, struct seq_file *seq) |
353 | { | 353 | { |
354 | struct rtc_device *rtc = (struct rtc_device *)dev; | 354 | seq_printf(seq, "trim/divider\t\t: 0x%08x\n", (u32) RTTR); |
355 | 355 | seq_printf(seq, "RTSR\t\t\t: 0x%08x\n", (u32)RTSR); | |
356 | seq_printf(seq, "trim/divider\t: 0x%08x\n", (u32) RTTR); | ||
357 | seq_printf(seq, "update_IRQ\t: %s\n", | ||
358 | (RTSR & RTSR_HZE) ? "yes" : "no"); | ||
359 | seq_printf(seq, "periodic_IRQ\t: %s\n", | ||
360 | (OIER & OIER_E1) ? "yes" : "no"); | ||
361 | seq_printf(seq, "periodic_freq\t: %d\n", rtc->irq_freq); | ||
362 | seq_printf(seq, "RTSR\t\t: 0x%08x\n", (u32)RTSR); | ||
363 | 356 | ||
364 | return 0; | 357 | return 0; |
365 | } | 358 | } |