Aaro Koskinen
182683e955
drivers/rtc/class.c: initialize rtc name early
...
In some error cases RTC name is used before it is initialized:
rtc-rs5c372 0-0032: clock needs to be set
rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.6
rtc (null): read_time: fail to read
rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
Fix by initializing the name early.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-17 09:04:01 -04:00
..
2015-04-17 09:04:01 -04:00
2015-04-17 09:04:00 -04:00
2015-04-03 08:18:24 +02:00
2015-04-17 09:04:01 -04:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2014-12-14 16:10:09 -08:00
2015-04-17 09:04:00 -04:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2015-03-18 01:58:16 +01:00
2015-03-04 22:10:59 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-29 16:33:14 -07:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:00 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-01-23 17:21:56 -08:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2014-12-10 17:41:15 -08:00
2014-08-08 15:57:19 -07:00
2014-12-10 17:41:15 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:00 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-08-08 15:57:19 -07:00
2015-01-29 19:16:40 +01:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-23 15:16:37 +01:00
2015-04-17 09:04:01 -04:00
2015-02-13 21:21:43 -08:00
2015-02-16 17:56:02 -08:00
2015-02-16 17:56:02 -08:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:26 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:29 +02:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-11-17 18:04:01 +11:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:42 -08:00
2015-04-17 09:03:59 -04:00
2014-10-14 02:18:17 +02:00
2014-08-08 15:57:20 -07:00
2014-11-03 19:53:56 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-14 02:18:19 +02:00
2015-04-17 09:04:00 -04:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:24 +02:00