aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-core.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2022-06-11 23:38:46 +0900
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-06-24 21:24:02 +0200
commit33740c7f94f948767578e852e6f256038a56803d (patch)
tree953eaaf9651efe34555c1d961a074598a2c23b51 /drivers/rtc/rtc-core.h
parent162b05524ed30586bd2a7ede1f0392c3d1ed2d6e (diff)
downloadlinux-33740c7f94f948767578e852e6f256038a56803d.tar.gz
rtc: Remove unused rtc_dev_exit().
Commit 270a3bd6bdc21407 ("rtc: make class.c explicitly non-modular") removed rtc_dev_exit() call. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/1e2f9a99-435d-e149-7456-dfacd53be85a@I-love.SAKURA.ne.jp
Diffstat (limited to 'drivers/rtc/rtc-core.h')
-rw-r--r--drivers/rtc/rtc-core.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-core.h b/drivers/rtc/rtc-core.h
index 0abf98983e13f..4b10a1b8f370f 100644
--- a/drivers/rtc/rtc-core.h
+++ b/drivers/rtc/rtc-core.h
@@ -2,7 +2,6 @@
#ifdef CONFIG_RTC_INTF_DEV
extern void __init rtc_dev_init(void);
-extern void __exit rtc_dev_exit(void);
extern void rtc_dev_prepare(struct rtc_device *rtc);
#else
@@ -11,10 +10,6 @@ static inline void rtc_dev_init(void)
{
}
-static inline void rtc_dev_exit(void)
-{
-}
-
static inline void rtc_dev_prepare(struct rtc_device *rtc)
{
}