diff options
| author | Uwe Kleine-König <[email protected]> | 2024-09-09 13:09:02 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-09-10 01:27:40 +0000 |
| commit | 01d34cc93639172272c3e47edd5cf1a3ffc6dc7a (patch) | |
| tree | 2fd7ef4f12e98e493687b90ad4fc53475fa9e65b /arch/powerpc/sysdev/fsl_msi.c | |
| parent | powerpc/pseries/eeh: Fix pseries_eeh_err_inject (diff) | |
| download | kernel-01d34cc93639172272c3e47edd5cf1a3ffc6dc7a.tar.gz kernel-01d34cc93639172272c3e47edd5cf1a3ffc6dc7a.zip | |
powerpc: Switch back to struct platform_driver::remove()
After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.
Convert all pwm drivers to use .remove(), with the eventual goal to drop
struct platform_driver::remove_new(). As .remove() and .remove_new() have
the same prototypes, conversion is done by just changing the structure
member name in the driver initializer.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.c')
| -rw-r--r-- | arch/powerpc/sysdev/fsl_msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index e205135ae1fe..1aa0cb097c9c 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c @@ -603,7 +603,7 @@ static struct platform_driver fsl_of_msi_driver = { .of_match_table = fsl_of_msi_ids, }, .probe = fsl_of_msi_probe, - .remove_new = fsl_of_msi_remove, + .remove = fsl_of_msi_remove, }; static __init int fsl_of_msi_init(void) |
