]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: sprd: Change to use devm_rtc_allocate_device()
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 26 Apr 2018 02:58:44 +0000 (10:58 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 3 May 2018 20:11:49 +0000 (22:11 +0200)
commit369a30a5f1c9245a214155ee527fa169e7f813ff
treeae4bdde45bd23efd36fac5b9c2d0622943034bb3
parent85368bb9de6366654f442e26fdd571981f205291
rtc: sprd: Change to use devm_rtc_allocate_device()

This is a preparation patch, changing to use devm_rtc_allocate_device()
that can allow driver to set 'range_max' and 'range_min' for the RTC
device.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sc27xx.c