summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-cmos.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-12-07 00:46:15 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-12-11 12:40:52 +0300
commitdcf257e92622ba0e25fdc4b6699683e7ae67e2a1 (patch)
tree15d08f71402e49cbe812cb7a3958a65ade3657fe /drivers/rtc/rtc-cmos.c
parent05a0302c35481e9b47fb90ba40922b0a4cae40d8 (diff)
downloadlinux-dcf257e92622ba0e25fdc4b6699683e7ae67e2a1.tar.xz
rtc: mc146818: Reduce spinlock section in mc146818_set_time()
No need to hold the lock and disable interrupts for doing math. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20201206220541.709243630@linutronix.de
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
0 files changed, 0 insertions, 0 deletions