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>
This commit is contained in:
parent
604c78235a
commit
ea369ea6d8
2 changed files with 4 additions and 18 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue