aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2021-02-03 20:39:37 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-02-06 00:50:47 +0100
commit51317975565329ee50e52d0fffce50566b43cc2d (patch)
tree4b220638f06a5addd83374951e9695287219f9c6 /drivers/rtc/class.c
parentrtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ (diff)
downloadlinux-rng-51317975565329ee50e52d0fffce50566b43cc2d.tar.xz
linux-rng-51317975565329ee50e52d0fffce50566b43cc2d.zip
rtc: pm8xxx: Replace spin_lock_irqsave with spin_lock in hard IRQ
It is redundant to do irqsave and irqrestore in hardIRQ context, where it has been in a irq-disabled context. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/1612355981-6764-3-git-send-email-tanxiaofei@huawei.com
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions