From: Alexandre Belloni Date: Tue, 2 Feb 2021 11:21:58 +0000 (+0100) Subject: rtc: class: remove bogus documentation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d5328499bf017f25412eedfc6769f108f43dce2c;p=linux.git 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 Link: https://lore.kernel.org/r/20210202112219.3610853-2-alexandre.belloni@bootlin.com --- diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 03abd0aa229af..f77bc089eb6b7 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;