drivers/rtc/rtc-ds1742.c: report to RTC core if retrieved time is invalid
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 11 Sep 2013 21:24:26 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <shc_work@mail.ru>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1742.c