powerpc/mpic: Don't open-code dcr_resource_start
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Fri, 2 Dec 2011 06:28:04 +0000 (06:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 02:43:08 +0000 (13:43 +1100)
commite62b760179506531bf6d0c522c0def0f84847eb7
treeb684af2edc059ae13c593c8e546b8d512fb1aab1
parentbe8bec56dfac0574c4c08a50cd37e09bea941e3f
powerpc/mpic: Don't open-code dcr_resource_start

Don't open-code the OpenFirmware "dcr-reg" property lookup trying to map
DCR resources.  This makes the code a bit easier to read.

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