powerpc/prom: Use of_get_next_parent() in of_get_ibm_chip_id()
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Oct 2015 00:48:46 +0000 (09:48 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Oct 2015 03:08:32 +0000 (12:08 +0900)
commit16c1d606263ea37754be0d0ed655ab1c99c4cf7e
tree0b01dab5e281a3152906ea188b114e84bc32367b
parentf755ecfb8cec7b19dff84295309f2afb24a5afd1
powerpc/prom: Use of_get_next_parent() in of_get_ibm_chip_id()

Use of_get_next_parent() to simplifiy the logic in of_get_ibm_chip_id().

Original-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c