Skip to content

Commit 6b088ce

Browse files
bebarinoKAGA-KOKO
authored andcommitted
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 8bc0daf ("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
1 parent eb5a4d0 commit 6b088ce

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎kernel/time/alarmtimer.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ static DEFINE_SPINLOCK(rtcdev_lock);
6969
* alarmtimer_get_rtcdev - Return selected rtcdevice
7070
*
7171
* This function returns the rtc device to use for wakealarms.
72-
* If one has not already been chosen, it checks to see if a
73-
* functional rtc device is available.
7472
*/
7573
struct rtc_device *alarmtimer_get_rtcdev(void)
7674
{

0 commit comments

Comments
 (0)