rtc: ds1343: remove unnecessary mutex
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Oct 2019 20:49:39 +0000 (22:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 Oct 2019 20:56:07 +0000 (22:56 +0200)
commita986429095df39e7a5b85a53b1e71ee8d07d3390
treec6f2ff86e2c5eb88b9185e92b1c304237d06c52e
parentce0fd9db653b18ed15aea08ee80056cc9ec094e9
rtc: ds1343: remove unnecessary mutex

Use rtc_lock and rtc_unlock to lock the rtc from the interrupt handler.
This removes the need for a driver specific lock.

Link: https://lore.kernel.org/r/20191019204941.6203-7-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1343.c