powerpc/mpic: Assume a device-node was passed in mpic_alloc()
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Fri, 2 Dec 2011 06:28:00 +0000 (06:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 02:43:07 +0000 (13:43 +1100)
commit5bdb6f2e5833c1c3e5ea21a2050fe0fada3a4a1d
tree8693062d39175af76592a356888591afbc655fb9
parent8bf41568969e003c3d5410124e27bbdce7852e1b
powerpc/mpic: Assume a device-node was passed in mpic_alloc()

All of the existing callers of mpic_alloc() pass in a non-NULL
device-node pointer, so the checks for a NULL device-node may be
removed.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c