diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-09-09 18:12:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-09 20:26:49 +0300 |
commit | 130af75b5c05eef4ecd8593371f3e924bcd41241 (patch) | |
tree | a3d679005f66a8c6b8c673c78513e17a51a62ca3 /sound/soc/codecs/cs47l90.c | |
parent | b09c71f3e8413ac0a9749f9d0d06f6f0d0b2cc65 (diff) | |
download | linux-130af75b5c05eef4ecd8593371f3e924bcd41241.tar.xz |
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/codecs/cs47l90.c')
-rw-r--r-- | sound/soc/codecs/cs47l90.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs47l90.c b/sound/soc/codecs/cs47l90.c index 2549cb1fc121..a9e703981f37 100644 --- a/sound/soc/codecs/cs47l90.c +++ b/sound/soc/codecs/cs47l90.c @@ -2644,7 +2644,7 @@ static struct platform_driver cs47l90_codec_driver = { .name = "cs47l90-codec", }, .probe = &cs47l90_probe, - .remove_new = cs47l90_remove, + .remove = cs47l90_remove, }; module_platform_driver(cs47l90_codec_driver); |