drivers/rtc/rtc-ds1742.c: report to RTC core if retrieved time is invalid
authorAlexander Shiyan <[email protected]>
Wed, 11 Sep 2013 21:24:26 +0000 (14:24 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:58:58 +0000 (15:58 -0700)
commit1735be4b822e8e3808f461372ff3942824790172
tree8600335734c78fd2560b54bc23983bd692cfd5ac
parent2cbc21877adf6adc69ca1fbc5fd1edbd7e1e3c59
drivers/rtc/rtc-ds1742.c: report to RTC core if retrieved time is invalid

Let RTC core decide if the retrieved time is invalid, instead of
processing errors in the driver.

Signed-off-by: Alexander Shiyan <[email protected]>
Cc: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-ds1742.c