diff options
| author | Baolin Wang <[email protected]> | 2018-01-08 06:04:49 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2018-03-17 13:20:54 +0000 |
| commit | 4c4e5df1f346f70802bf4999de13d06dbbdf7a01 (patch) | |
| tree | f86ee892ed68e5abc6d845a35fff813ba4c32bf3 /drivers/rtc/class.c | |
| parent | rtc: Add RTC range (diff) | |
| download | kernel-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
