Alessandro Zummo 4071ea25cc rtc: fix potential race condition
RTC drivers must not return an error after device registration.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Reported-by: Ales Novak <alnovak@suse.cz>
Cc: Alexander Shiyan <shc_work@mail.ru>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-03 16:21:16 -07:00
..
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2011-08-26 17:26:35 -07:00
2013-09-11 15:58:54 -07:00
2013-07-03 16:07:55 -07:00
2013-04-19 13:51:25 +02:00
2013-12-20 22:55:03 +01:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00