rtc: vt8500: Fix build error & cleanup rtc_class_ops->update_irq_enable()
authorAlexey Charkov <alchark@gmail.com>
Wed, 22 Jun 2011 21:20:13 +0000 (23:20 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 23 Jun 2011 23:11:39 +0000 (16:11 -0700)
commit03ad2d501e7189245bf6bf9dfc2a30511dd50602
treeaea77f0264d8d634085e9da892c6460876d8240b
parente08f6d4131ab964420f0bcabecc68d75fb49df79
rtc: vt8500: Fix build error & 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.

Further the rtc_class_ops doesn't have a update_irq_enable element
anymore, so this causes a build error.

This patch removes the driver hooks and implementations of
update_irq_enable and the associated setup.

[wsa: updated commit-message and removed update_irq_enable-function, too]
[jstultz: improve commit message, clarifying build issue]
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/rtc-vt8500.c