rtc: remove .open() and .release()
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 23 Aug 2017 00:33:04 +0000 (02:33 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 24 Aug 2017 14:34:51 +0000 (16:34 +0200)
commitea369ea6d828930c0cf0cacf81f6fd9dff61992d
tree5c0ca38a3319f5e9949899824bf5bc9911d873e4
parent604c78235a35202e2150866dcf12f27eed5c6a04
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>
drivers/rtc/rtc-dev.c
include/linux/rtc.h