summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sun6i.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-01-08 09:04:49 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-03-17 16:20:54 +0300
commit4c4e5df1f346f70802bf4999de13d06dbbdf7a01 (patch)
treef86ee892ed68e5abc6d845a35fff813ba4c32bf3 /drivers/rtc/rtc-sun6i.c
parent71db049e7355f31604e2c04b6cabb71d02bd487d (diff)
downloadlinux-4c4e5df1f346f70802bf4999de13d06dbbdf7a01.tar.xz
rtc: Factor out the RTC range validation into rtc_valid_range()
The RTC range validation code can be factored into rtc_valid_range() function to avoid duplicate code. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-sun6i.c')
0 files changed, 0 insertions, 0 deletions