rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 3 Feb 2021 12:39:36 +0000 (20:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Dec 2022 10:31:56 +0000 (11:31 +0100)
commit17293d630f5f88355b43712888208945581cdc87
treec1a037943e475ae0ee05ba792b45949bf869224e
parentacfd8ef683fbf5261be8ed5075e00b2a45e152b9
rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ

[ Upstream commit 6950d046eb6eabbc271fda416460c05f7a85698a ]

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-2-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-cmos.c