summaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/ac97c.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-09-09 17:12:30 +0200
committerMark Brown <broonie@kernel.org>2024-09-09 19:26:49 +0200
commit130af75b5c05eef4ecd8593371f3e924bcd41241 (patch)
treea3d679005f66a8c6b8c673c78513e17a51a62ca3 /sound/soc/au1x/ac97c.c
parentASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name (diff)
downloadlinux-130af75b5c05eef4ecd8593371f3e924bcd41241.tar.xz
linux-130af75b5c05eef4ecd8593371f3e924bcd41241.zip
ASoC: 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 drivers below sound/soc 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 <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20240909151230.909818-2-u.kleine-koenig@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/au1x/ac97c.c')
-rw-r--r--sound/soc/au1x/ac97c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c
index b0e1a1253e10..f8ab936250dc 100644
--- a/sound/soc/au1x/ac97c.c
+++ b/sound/soc/au1x/ac97c.c
@@ -336,7 +336,7 @@ static struct platform_driver au1xac97c_driver = {
.pm = AU1XPSCAC97_PMOPS,
},
.probe = au1xac97c_drvprobe,
- .remove_new = au1xac97c_drvremove,
+ .remove = au1xac97c_drvremove,
};
module_platform_driver(au1xac97c_driver);