diff options
Diffstat (limited to 'drivers/rtc/rtc-pxa.c')
-rw-r--r-- | drivers/rtc/rtc-pxa.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index a1fdc802598a..fc9f4991574b 100644 --- a/drivers/rtc/rtc-pxa.c +++ b/drivers/rtc/rtc-pxa.c | |||
@@ -224,21 +224,6 @@ static int pxa_alarm_irq_enable(struct device *dev, unsigned int enabled) | |||
224 | return 0; | 224 | return 0; |
225 | } | 225 | } |
226 | 226 | ||
227 | static int pxa_update_irq_enable(struct device *dev, unsigned int enabled) | ||
228 | { | ||
229 | struct pxa_rtc *pxa_rtc = dev_get_drvdata(dev); | ||
230 | |||
231 | spin_lock_irq(&pxa_rtc->lock); | ||
232 | |||
233 | if (enabled) | ||
234 | rtsr_set_bits(pxa_rtc, RTSR_HZE); | ||
235 | else | ||
236 | rtsr_clear_bits(pxa_rtc, RTSR_HZE); | ||
237 | |||
238 | spin_unlock_irq(&pxa_rtc->lock); | ||
239 | return 0; | ||
240 | } | ||
241 | |||
242 | static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) | 227 | static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) |
243 | { | 228 | { |
244 | struct pxa_rtc *pxa_rtc = dev_get_drvdata(dev); | 229 | struct pxa_rtc *pxa_rtc = dev_get_drvdata(dev); |
@@ -320,7 +305,6 @@ static const struct rtc_class_ops pxa_rtc_ops = { | |||
320 | .read_alarm = pxa_rtc_read_alarm, | 305 | .read_alarm = pxa_rtc_read_alarm, |
321 | .set_alarm = pxa_rtc_set_alarm, | 306 | .set_alarm = pxa_rtc_set_alarm, |
322 | .alarm_irq_enable = pxa_alarm_irq_enable, | 307 | .alarm_irq_enable = pxa_alarm_irq_enable, |
323 | .update_irq_enable = pxa_update_irq_enable, | ||
324 | .proc = pxa_rtc_proc, | 308 | .proc = pxa_rtc_proc, |
325 | }; | 309 | }; |
326 | 310 | ||