Skip to content
Commit 4c4e5df1 authored by Baolin Wang's avatar Baolin Wang Committed by Alexandre Belloni
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 71db049e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment