OSDN Git Service

parisc: time: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 21:40:23 +0000 (22:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Mar 2018 23:02:09 +0000 (00:02 +0100)
commitf6b1a3a4a72e27234a02d9095080fc811848598c
tree6175e1c4562474909a4d726ecbaa5acdcba0e541
parent051abf552468d4b80c0ccf8c69667bfab672cec0
parisc: time: stop validating rtc_time in .read_time

The RTC core is always calling rtc_valid_tm after the read_time callback.
It is not necessary to call it just before returning from the callback.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/parisc/kernel/time.c