]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/fsl_uli1575: Simplify uli_exclude_device() usage
authorPali Rohár <pali@kernel.org>
Sun, 9 Apr 2023 00:08:07 +0000 (02:08 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 00:20:50 +0000 (10:20 +1000)
commitaa9f3d2d619b878a66dc918d8b3bf984300f975f
treeff8bd5d4b00c7406182416adee51f2882a5c6715
parent485536b9f289c8c3c86ecaad0f05a1a7b633cb8a
powerpc/fsl_uli1575: Simplify uli_exclude_device() usage

Function uli_exclude_device() is called only from mpc86xx_exclude_device()
and mpc85xx_exclude_device() functions. Both those functions are same, so
merge its logic directly into the uli_exclude_device() function.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230409000812.18904-4-pali@kernel.org
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
arch/powerpc/platforms/fsl_uli1575.c