powerpc: Rework ipic_init() so we can avoid freeing the irq_host
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 26 May 2008 02:12:30 +0000 (12:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jun 2008 03:51:14 +0000 (13:51 +1000)
commit84f1c1e08906f2206f2bbdd19e4ff6a0757ff7f8
tree4acd7945bff1656d0f8edf0ae771fc16cbe74ab1
parent997526db9fa408058f23de19c0e12abd9207276b
powerpc: Rework ipic_init() so we can avoid freeing the irq_host

If we do the call to of_address_to_resource() first, then we don't
need to worry about freeing the irq_host (which the code doesn't do
currently anyway).

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/ipic.c