diff options
author | 2018-11-10 21:25:44 +0100 | |
---|---|---|
committer | 2018-11-12 23:14:10 +0100 | |
commit | 03f39f47dc86fc4defbf9b97f8417f192d1ccba6 (patch) | |
tree | 9e54476f4e684abe2ae6632e7ae4264dc32dae78 /include/linux/rtc.h | |
parent | rtc: sh: convert to SPDX identifiers (diff) | |
download | linux-03f39f47dc86fc4defbf9b97f8417f192d1ccba6.tar.gz linux-03f39f47dc86fc4defbf9b97f8417f192d1ccba6.tar.bz2 linux-03f39f47dc86fc4defbf9b97f8417f192d1ccba6.zip |
rtc: class: remove devm_rtc_device_unregister
devm_rtc_device_unregister is not used by any driver and should not be used
by any new driver.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/rtc.h')
-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 c8bb4a2b48c3..311375dbb673 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -173,8 +173,6 @@ extern struct rtc_device *devm_rtc_device_register(struct device *dev, struct module *owner); struct rtc_device *devm_rtc_allocate_device(struct device *dev); int __rtc_register_device(struct module *owner, struct rtc_device *rtc); -extern void devm_rtc_device_unregister(struct device *dev, - struct rtc_device *rtc); extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); |