diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-19 01:36:18 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-01 12:49:40 +0300 |
commit | bd7f4e7598921506c2ae343954fdbb764840921b (patch) | |
tree | 5c753e608d1aa8a16cf687de095994190f19adc9 /drivers/rtc/rtc-zynqmp.c | |
parent | bff11e3aa9ccfce1a66ef05871d01c1da533f896 (diff) | |
download | linux-bd7f4e7598921506c2ae343954fdbb764840921b.tar.xz |
rtc: stk17ta8: let the core handle invalid time
Returning a valid time when the time is invalid is a bad practice, because
then userspace is not able to react on the information. Also, it doesn't
make sense to return epoch because it is already the default time.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-zynqmp.c')
0 files changed, 0 insertions, 0 deletions