diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-09-14 17:46:01 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-09-15 10:50:38 +0200 |
commit | 2fc1af3095af5cbcd8fc406610dc196b62e3ed21 (patch) | |
tree | 8a7c8681eb6384217c7fdf97110718c753df9cf6 /drivers/rtc/rtc-ds1390.c | |
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
Diffstat (limited to 'drivers/rtc/rtc-ds1390.c')
0 files changed, 0 insertions, 0 deletions