irqdomain: Split disassociating code into separate function
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jun 2012 05:04:35 +0000 (22:04 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 Jul 2012 15:15:34 +0000 (16:15 +0100)
commit913af2070731bfc1bd39bb35c5cd2fd66f5eff12
tree26e177b59bdc23aa5d0ef75a51cc76abdfd1281e
parent80c1834fc86c2bbacb54a8fc3c04a8b0066b0996
irqdomain: Split disassociating code into separate function

This patch moves the irq disassociation code out into a separate
function in preparation to extend irq_setup_virq to handle multiple
irqs and rename it for use by interrupt controller drivers.  The new
function will be used by irq_setup_virq() in its error path.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
kernel/irq/irqdomain.c