ntp, rtc: Move rtc_set_ntp_time() to ntp code
authorThomas Gleixner <tglx@linutronix.de>
Sun, 6 Dec 2020 21:46:19 +0000 (22:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 11 Dec 2020 09:40:52 +0000 (10:40 +0100)
commit33e62e832384c8cb523044e0e9d99d7133f98e93
tree9197b255620c561e11bab9526cb20870742c6db3
parentc9e6189fb03123a7dfb93589280347b46f30b161
ntp, rtc: Move rtc_set_ntp_time() to ntp code

rtc_set_ntp_time() is not really RTC functionality as the code is just a
user of RTC. Move it into the NTP code which allows further cleanups.

Requested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201206220542.166871172@linutronix.de
drivers/rtc/Makefile
drivers/rtc/systohc.c [deleted file]
include/linux/rtc.h
kernel/time/ntp.c