diff options
author | 2021-02-03 20:39:38 +0800 | |
---|---|---|
committer | 2021-02-06 00:50:47 +0100 | |
commit | be3df3f85897e36163bfb764549acc69ec9b7afa (patch) | |
tree | 0a15a9dc422a9f64ddf7696e5ce76d5550f15ba5 /drivers/rtc/class.c | |
parent | rtc: pm8xxx: Replace spin_lock_irqsave with spin_lock in hard IRQ (diff) | |
download | linux-rng-be3df3f85897e36163bfb764549acc69ec9b7afa.tar.xz linux-rng-be3df3f85897e36163bfb764549acc69ec9b7afa.zip |
rtc: r7301: 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-4-git-send-email-tanxiaofei@huawei.com
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions