From: Gavin Shan Date: Fri, 23 Jan 2015 03:25:05 +0000 (+1100) Subject: powerpc/powernv: Separate function for OPAL IRQ setup X-Git-Tag: fixes-v4.0-rc1~132^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c3a526bb4ddbec7639a9fb3b84fede25b201d9;p=pandora-kernel.git powerpc/powernv: Separate function for OPAL IRQ setup The patch put the OPAL interrupt setup logic in opal_init() into seperate function opal_irq_init() for easier code maintaining. The patch doesn't introduce logic changes except: * Rename variable names. * Release virtual IRQ upon error from request_irq(). * Don't cache the virtual IRQ to opal_irqs[] upon error from request_irq(). Suggested-by: Michael Ellerman Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed