projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8fc14
)
rtc: class: remove bogus documentation
author
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Tue, 2 Feb 2021 11:21:58 +0000
(12:21 +0100)
committer
Alexandre Belloni
<alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:58:24 +0000
(
00:58
+0100)
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
drivers/rtc/class.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/class.c
b/drivers/rtc/class.c
index 03abd0aa229afaf27202a2a1748bbfad94435921..f77bc089eb6b758a763ea668f5b809c5c11d9ea6 100644
(file)
--- 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;