diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-03 14:49:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 16:21:20 -0700 |
commit | 589e501439f9866b4bc415743b0ae0bb9a461c69 (patch) | |
tree | aa56c1a2b0fbc1528497d4d08e1aedd52667a92a /drivers/irqchip | |
parent | 77bf2ea8de78ce7dd842409a847b888e720f62d8 (diff) | |
download | linux-589e501439f9866b4bc415743b0ae0bb9a461c69.tar.bz2 |
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>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions