powerpc/time: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 21:46:33 +0000 (22:46 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Mar 2018 11:27:33 +0000 (22:27 +1100)
commit890ae7979758568734881ad0f382c4064e2386c3
tree060351951b6fe5c84ed28a1c7be778f908cf3dd6
parent007bb7d6c77ef2243dabf9c4132afa68bec82817
powerpc/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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/time.c