diff options
author | John Stultz <john.stultz@linaro.org> | 2011-02-05 01:16:12 +0100 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-03-09 20:24:54 +0100 |
commit | e428c6a2772bcf6b022baf7c8267cca3634c0c3e (patch) | |
tree | e53361c43ae67102e1050361ef432ac0401f8191 /drivers/rtc/rtc-davinci.c | |
parent | RTC: Cleanup rtc_class_ops->update_irq_enable() (diff) | |
download | linux-e428c6a2772bcf6b022baf7c8267cca3634c0c3e.tar.xz linux-e428c6a2772bcf6b022baf7c8267cca3634c0c3e.zip |
RTC: Clean out UIE icotl implementations
With the generic RTC rework, the UIE mode irqs are handled
in the generic layer, and only hardware specific ioctls
get passed down to the rtc driver layer.
So this patch removes the UIE mode ioctl handling in the rtc
driver layer, which never get used.
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 'drivers/rtc/rtc-davinci.c')
-rw-r--r-- | drivers/rtc/rtc-davinci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c index dfd98a235ad1..8d46838dff8a 100644 --- a/drivers/rtc/rtc-davinci.c +++ b/drivers/rtc/rtc-davinci.c @@ -231,10 +231,6 @@ davinci_rtc_ioctl(struct device *dev, unsigned int cmd, unsigned long arg) case RTC_WIE_OFF: rtc_ctrl &= ~PRTCSS_RTC_CTRL_WEN; break; - case RTC_UIE_OFF: - case RTC_UIE_ON: - ret = -ENOTTY; - break; default: ret = -ENOIOCTLCMD; } |