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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent eb5a4d0 commit 6b088ce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)