powerpc/gamecube|wii : Use machine_device_initcall()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 18 Feb 2023 09:15:48 +0000 (10:15 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Mar 2023 21:56:48 +0000 (08:56 +1100)
commitf47b17d51997cd47e0e6fb1b90145d516ebe6b3e
tree4dcdff8979de867a72056993b175cf33e7fcfa71
parent357f82395cd8a0279067805841e5968f4e6dc932
powerpc/gamecube|wii : Use machine_device_initcall()

Instead of checking machine type in the function,
use machine_device_initcall().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/6cb9865d916231c38401ba34ad1a98c249fae135.1676711562.git.christophe.leroy@csgroup.eu
arch/powerpc/platforms/embedded6xx/gamecube.c
arch/powerpc/platforms/embedded6xx/wii.c