powerpc/powernv: Merge common platform device initialisation
authorJeremy Kerr <jk@ozlabs.org>
Wed, 20 May 2015 03:23:33 +0000 (11:23 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jun 2015 22:32:20 +0000 (08:32 +1000)
commit48c06154952a18c5cd4d074ec3de627430cb6d23
treea32a83e8607de80e0d9b66e8abe6c4c8e895d0fb
parent18725226af7a6a0eac8a5bc42a6c9c90af1fb0e7
powerpc/powernv: Merge common platform device initialisation

opal_ipmi_init and opal_flash_init are equivalent, except for the
compatbile string. Merge these two into a common opal_pdev_init
function.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal.c