summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1343.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-19 22:50:34 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-19 22:55:46 +0200
commitae4866884338259318be94fa8f88015cced07000 (patch)
tree93944e7de70fda991568c8e87791c57e3844a3bb /drivers/rtc/rtc-ds1343.c
parentrtc: vt8500: let the core handle rtc range (diff)
downloadlinux-ae4866884338259318be94fa8f88015cced07000.tar.xz
linux-ae4866884338259318be94fa8f88015cced07000.zip
rtc: introduce lock helpers
Introduce rtc_lock and rtc_unlock to shorten the code when locking and unlocking ops_lock from drivers. Link: https://lore.kernel.org/r/20191019205034.6382-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1343.c')
0 files changed, 0 insertions, 0 deletions