diff options
author | John Stultz <john.stultz@linaro.org> | 2011-02-03 15:13:50 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-03-09 14:23:37 -0500 |
commit | 51ba60c5bb3b0f71bee26404ddc22d8e4109e88a (patch) | |
tree | 27465aa6427981e542df0a9822ae634fe225a838 /include/linux/rtc.h | |
parent | 696160fec162601d06940862b5b3aa4460344c1b (diff) |
RTC: Cleanup rtc_class_ops->update_irq_enable()
Now that the generic code handles UIE mode irqs via periodic
alarm interrupts, no one calls the
rtc_class_ops->update_irq_enable() method anymore.
This patch removes the driver hooks and implementations of
update_irq_enable if no one else is calling it.
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: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 741a51cc446..2ca7e8a7806 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h | |||
@@ -149,7 +149,6 @@ struct rtc_class_ops { | |||
149 | int (*set_mmss)(struct device *, unsigned long secs); | 149 | int (*set_mmss)(struct device *, unsigned long secs); |
150 | int (*read_callback)(struct device *, int data); | 150 | int (*read_callback)(struct device *, int data); |
151 | int (*alarm_irq_enable)(struct device *, unsigned int enabled); | 151 | int (*alarm_irq_enable)(struct device *, unsigned int enabled); |
152 | int (*update_irq_enable)(struct device *, unsigned int enabled); | ||
153 | }; | 152 | }; |
154 | 153 | ||
155 | #define RTC_DEVICE_NAME_SIZE 20 | 154 | #define RTC_DEVICE_NAME_SIZE 20 |