Alexander Shiyan 589e501439 rtc: mc13xxx: request IRQs after RTC registration
Interrupts can appear after request_irq and interrupt handlers can use
the RTC device, but currently we register RTC after IRQs.  This patch
changes this order and simplify error path a bit.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-03 16:21:20 -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-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