]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: pcf2123: use rtc_lock/rtc_unlock
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 19 Jan 2021 22:06:48 +0000 (23:06 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Jan 2021 22:46:17 +0000 (23:46 +0100)
commita82430fd2dff8781fe0ab7a7d676ce3556ef3441
tree1c329308500f44e55fe4ee937e21223ffaa5376d
parentcc9230178410593c2aec28fdd5700915854cd7e3
rtc: pcf2123: 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-10-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf2123.c