]> git.baikalelectronics.ru Git - kernel.git/commit
x86/rtc: Rename mach_set_rtc_mmss() to mach_set_cmos_time()
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Sat, 13 Aug 2022 13:10:34 +0000 (15:10 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Aug 2022 09:24:29 +0000 (11:24 +0200)
commitbe8cc074710e983edcb2987ff9b6935e89bdc483
tree6c03f6ccfbd8ad5661fa8d5664354f2f961f3189
parent474b55d7982b9456da979b3c87b1bece1e496504
x86/rtc: Rename mach_set_rtc_mmss() to mach_set_cmos_time()

Once upon a time, before this commit in 2013:

   4466187cfbb8 ("x86: Do full rtc synchronization with ntp")

... the mach_set_rtc_mmss() function set only the minutes and seconds
registers of the CMOS RTC - hence the '_mmss' postfix.

This is no longer true, so rename the function to mach_set_cmos_time().

[ mingo: Expanded changelog a bit. ]

Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220813131034.768527-2-mat.jonczyk@o2.pl
arch/x86/include/asm/mc146818rtc.h
arch/x86/kernel/rtc.c
arch/x86/kernel/x86_init.c