powerpc: Rework qe_ic_init() so we can avoid freeing the irq_host
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 26 May 2008 02:12:31 +0000 (12:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jun 2008 03:51:15 +0000 (13:51 +1000)
commit2272a55f16c998d916904bba018b0f40f430d744
tree8dd7212809b64ef3b665d8ecf66de9e1d3bad330
parent84f1c1e08906f2206f2bbdd19e4ff6a0757ff7f8
powerpc: Rework qe_ic_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/qe_lib/qe_ic.c