Alexander Shiyan 5ab9a52a3a drivers/rtc/rtc-mc13xxx.c: fix potential race condition
RTC drivers must not return an error after device registration.  This
patch makes RTC registration as the last action.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
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>
2014-04-03 16:21:23 -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-07-03 16:07:55 -07:00
2013-04-19 13:51:25 +02:00
2014-04-03 16:21:21 -07:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00