Commits
Baolin Wang committed 4c4e5df1f34
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>