commit | 2fc1af3095af5cbcd8fc406610dc196b62e3ed21 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Sep 14 17:46:01 2020 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Sep 15 10:50:38 2020 +0200 |
tree | 8a7c8681eb6384217c7fdf97110718c753df9cf6 | |
parent | 9868bc1ce272dc0387488e779c585e7a12cf7a1b [diff] |
rtc: rx8010: use range checking provided by core RTC code We don't need to check the time range manually in set_time(), we can use range_min and range_max exposed by struct rtc_device. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200914154601.32245-15-brgl@bgdev.pl