rtc: max31335: remove unecessary locking
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 15 Jan 2024 23:22:13 +0000 (00:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 17 Jan 2024 23:56:46 +0000 (00:56 +0100)
commit590b1d19d73914477cfd9faac7a0d7dcf5b4eb08
tree55140fe4ff2055ec2e70a5a99f8fc0240cde06ea
parentdedaf03b99d6561fae06457fd7fc2b0aa154d003
rtc: max31335: remove unecessary locking

There is no race condition when accessing MAX31335_STATUS1 because it is
always about clearing the alarm interrupt bit.

Reviewed-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20240115232215.273374-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-max31335.c