]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rtc: ac100: use rtc_lock/rtc_unlock
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Jan 2021 22:14:02 +0000 (23:14 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Jan 2021 22:45:37 +0000 (23:45 +0100)
commitde490e0580dfb274aaf393bebb97091aee8142fa
treefeed749c693ece4f0956427dd6612d3d56d0c272
parent2f58f5eea8c60052100ff325688f2d987bde572b
rtc: ac100: 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/20210125221402.1958484-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-ac100.c