rtc: mxc: Replace spin_lock_irqsave with spin_lock in hard IRQ
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 3 Feb 2021 12:39:40 +0000 (20:39 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:50:48 +0000 (00:50 +0100)
commit3f2d30184773e408c4e6f9e15c350828e482480c
tree84a16fd4ec3d06c4259607ed876fefaf3050a7be
parent669022c29af672205aaf53b76fd594dad2661ffe
rtc: mxc: 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-6-git-send-email-tanxiaofei@huawei.com
drivers/rtc/rtc-mxc.c