diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-10 15:25:44 -0500 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-11-12 17:14:10 -0500 |
| commit | 03f39f47dc86fc4defbf9b97f8417f192d1ccba6 (patch) | |
| tree | 9e54476f4e684abe2ae6632e7ae4264dc32dae78 /include/linux | |
| parent | 4ff6f0249e213eab98828b2d19e896a143fc7e28 (diff) | |
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')
| -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, | |||
| 173 | struct module *owner); | 173 | struct module *owner); |
| 174 | struct rtc_device *devm_rtc_allocate_device(struct device *dev); | 174 | struct rtc_device *devm_rtc_allocate_device(struct device *dev); |
| 175 | int __rtc_register_device(struct module *owner, struct rtc_device *rtc); | 175 | int __rtc_register_device(struct module *owner, struct rtc_device *rtc); |
| 176 | extern void devm_rtc_device_unregister(struct device *dev, | ||
| 177 | struct rtc_device *rtc); | ||
| 178 | 176 | ||
| 179 | extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); | 177 | extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); |
| 180 | extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); | 178 | extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); |
