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)
commite1a6bc7c6969527dbe0afa4801a0237e41e26b1b
tree6c03f6ccfbd8ad5661fa8d5664354f2f961f3189
parentfc04b2ccf0edc49e53d2e1251d122e40285233e6
x86/rtc: Rename mach_set_rtc_mmss() to mach_set_cmos_time()

Once upon a time, before this commit in 2013:

   3195ef59cb42 ("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