From: Alexander Shiyan Date: Thu, 3 Apr 2014 21:49:57 +0000 (-0700) Subject: rtc: mc13xxx: request IRQs after RTC registration X-Git-Tag: v3.15-rc1~106^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589e501439f9866b4bc415743b0ae0bb9a461c69;p=pandora-kernel.git 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 Cc: Uwe Kleine-König Cc: Sascha Hauer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed