]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtc: ds1305: use rtc_lock/rtc_unlock
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 19 Jan 2021 22:06:41 +0000 (23:06 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Jan 2021 22:46:16 +0000 (23:46 +0100)
commitd57949bb3c37fcf149c30f976e66b7f97597bd91
tree973d3a7f4c42484ee03f05bf5e1b5e55e7a3b29f
parent3fbd293c16d772d31d11ff8f1b32622a73dcb881
rtc: ds1305: use rtc_lock/rtc_unlock

Avoid accessing directly rtc->ops_lock and use the RTC core helpers.

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