diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-01-08 09:04:49 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-17 16:20:54 +0300 |
commit | 4c4e5df1f346f70802bf4999de13d06dbbdf7a01 (patch) | |
tree | f86ee892ed68e5abc6d845a35fff813ba4c32bf3 /drivers/rtc/rtc-sun6i.c | |
parent | 71db049e7355f31604e2c04b6cabb71d02bd487d (diff) | |
download | linux-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