summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-02-02 12:21:58 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-02-06 00:58:24 +0100
commitd5328499bf017f25412eedfc6769f108f43dce2c (patch)
tree01d3361b3ba21d9d8fe9bcc477bb8a623749d659
parent3b8fc144d9454ec9d6ab31ae2a34d67bfc8274a1 (diff)
downloadlinux-d5328499bf017f25412eedfc6769f108f43dce2c.tar.gz
linux-d5328499bf017f25412eedfc6769f108f43dce2c.tar.bz2
linux-d5328499bf017f25412eedfc6769f108f43dce2c.zip
rtc: class: remove bogus documentation
rtc_device_unregister is gone since commit fdcfd854333b ("rtc: rework rtc_register_device() resource management"). Remove its documentation. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210202112219.3610853-2-alexandre.belloni@bootlin.com
-rw-r--r--drivers/rtc/class.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 03abd0aa229a..f77bc089eb6b 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -324,11 +324,6 @@ static void rtc_device_get_offset(struct rtc_device *rtc)
rtc->offset_secs = 0;
}
-/**
- * rtc_device_unregister - removes the previously registered RTC class device
- *
- * @rtc: the RTC class device to destroy
- */
static void devm_rtc_unregister_device(void *data)
{
struct rtc_device *rtc = data;