diff options
author | Stephen Boyd <swboyd@chromium.org> | 2020-01-23 21:58:49 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-24 21:00:20 +0100 |
commit | 6b088cefbeaa87ba48bf838edfc1e19c9ff3976b (patch) | |
tree | 2abf72bc1bf384f6885c42401581475cf93e6a27 /kernel/time/alarmtimer.c | |
parent | eb5a4d0a9ee976008d1add75e3d64545399e80a3 (diff) | |
download | linux-6b088cefbeaa87ba48bf838edfc1e19c9ff3976b.tar.bz2 |
alarmtimer: Update alarmtimer_get_rtcdev() docs to reflect reality
This function doesn't do anything like this comment says when an RTC device
hasn't been chosen. It looks like we used to do something like that before
commit 8bc0dafb5cf3 ("alarmtimers: Rework RTC device selection using class
interface") but that's long gone now. Remove this sentence to avoid
confusing the reader.
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200124055849.154411-5-swboyd@chromium.org
Diffstat (limited to 'kernel/time/alarmtimer.c')
-rw-r--r-- | kernel/time/alarmtimer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 9dc7a0913190..564ff5df2b0b 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c @@ -69,8 +69,6 @@ static DEFINE_SPINLOCK(rtcdev_lock); * alarmtimer_get_rtcdev - Return selected rtcdevice * * This function returns the rtc device to use for wakealarms. - * If one has not already been chosen, it checks to see if a - * functional rtc device is available. */ struct rtc_device *alarmtimer_get_rtcdev(void) { |