diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-23 02:33:04 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-24 16:34:51 +0200 |
commit | ea369ea6d828930c0cf0cacf81f6fd9dff61992d (patch) | |
tree | 5c0ca38a3319f5e9949899824bf5bc9911d873e4 /include | |
parent | rtc: mxc: avoid disabling interrupts on device close (diff) | |
download | linux-ea369ea6d828930c0cf0cacf81f6fd9dff61992d.tar.xz linux-ea369ea6d828930c0cf0cacf81f6fd9dff61992d.zip |
rtc: remove .open() and .release()
There are no driver left using .open and .release. There is no good use
case for them as there is nothing the character device interface does that
should not be done in the sysfs interface or in-kernel interface.
Remove those callbacks now to avoid future confusion.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rtc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 0a0f0d14a5fb..e6d0f9c1cafd 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -72,8 +72,6 @@ extern struct class *rtc_class; * issued through ioctl() ... */ struct rtc_class_ops { - int (*open)(struct device *); - void (*release)(struct device *); int (*ioctl)(struct device *, unsigned int, unsigned long); int (*read_time)(struct device *, struct rtc_time *); int (*set_time)(struct device *, struct rtc_time *); |