aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-10-04 06:22:27 +0000
committerVinod Koul <[email protected]>2024-10-14 18:20:34 +0000
commit76355c25e4f71ee4667ebaadd9faf8ec29d18f23 (patch)
treee1c1250e2c348ee48f5c075f0104931d903eafdb /drivers/dma/fsl_raid.c
parentdmaengine: ep93xx: Fix unsigned compared against 0 (diff)
downloadkernel-76355c25e4f71ee4667ebaadd9faf8ec29d18f23.tar.gz
kernel-76355c25e4f71ee4667ebaadd9faf8ec29d18f23.zip
dmaengine: 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 platform drivers below drivers/dma after the previous conversion commits apart from the wireless 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/dma/fsl_raid.c')
-rw-r--r--drivers/dma/fsl_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c
index 014ff523d5ec..6aa97e258a55 100644
--- a/drivers/dma/fsl_raid.c
+++ b/drivers/dma/fsl_raid.c
@@ -886,7 +886,7 @@ static struct platform_driver fsl_re_driver = {
.of_match_table = fsl_re_ids,
},
.probe = fsl_re_probe,
- .remove_new = fsl_re_remove,
+ .remove = fsl_re_remove,
};
module_platform_driver(fsl_re_driver);