aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2018-01-08 06:04:49 +0000
committerAlexandre Belloni <[email protected]>2018-03-17 13:20:54 +0000
commit4c4e5df1f346f70802bf4999de13d06dbbdf7a01 (patch)
treef86ee892ed68e5abc6d845a35fff813ba4c32bf3 /drivers/rtc/class.c
parentrtc: Add RTC range (diff)
downloadkernel-4c4e5df1f346f70802bf4999de13d06dbbdf7a01.tar.gz
kernel-4c4e5df1f346f70802bf4999de13d06dbbdf7a01.zip
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 <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions