Files
kernel_xiaomi_sm8250/include/linux
Uwe Kleine-König d0ab4a4d50 rtc/hctosys: only claim the RTC provided the system time if it did
Without this patch /sys/class/rtc/$CONFIG_RTC_HCTOSYS_DEVICE/hctosys
contains a 1 (meaning "This rtc was used to initialize the system clock")
even if reading the time at bootup failed.

Moreover change error handling in rtc_hctosys() to use goto and so reduce
the indention level.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-12 15:52:28 -08:00
..
2010-03-01 15:11:32 -05:00
2010-03-07 22:17:09 +01:00
2010-03-02 12:23:42 +01:00
2010-03-02 12:23:49 +01:00
2010-02-18 14:08:38 -08:00
2010-02-17 16:35:17 -08:00
2010-02-22 16:17:00 -08:00
2010-02-19 03:35:12 -05:00
2010-03-06 11:26:26 -08:00
2010-02-19 15:52:40 -05:00
2010-02-14 07:13:47 -07:00
2010-02-23 23:14:47 -08:00
2010-03-05 00:20:31 +01:00
2010-02-10 17:47:17 -08:00
2010-03-06 11:26:24 -08:00
2010-03-02 11:39:15 +09:00
2010-02-16 13:38:56 +09:00
2010-03-02 03:05:05 -08:00
2010-02-18 15:43:09 -08:00
2010-03-05 15:04:41 -06:00