diff options
| author | Uwe Kleine-König <[email protected]> | 2024-09-09 15:12:30 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-09-09 17:26:49 +0000 |
| commit | 130af75b5c05eef4ecd8593371f3e924bcd41241 (patch) | |
| tree | a3d679005f66a8c6b8c673c78513e17a51a62ca3 /sound/soc/intel/boards/sof_es8336.c | |
| parent | ASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name (diff) | |
| download | kernel-130af75b5c05eef4ecd8593371f3e924bcd41241.tar.gz kernel-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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/intel/boards/sof_es8336.c')
| -rw-r--r-- | sound/soc/intel/boards/sof_es8336.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c index 578271b4230a..fc998fe4b196 100644 --- a/sound/soc/intel/boards/sof_es8336.c +++ b/sound/soc/intel/boards/sof_es8336.c @@ -838,7 +838,7 @@ static struct platform_driver sof_es8336_driver = { .pm = &snd_soc_pm_ops, }, .probe = sof_es8336_probe, - .remove_new = sof_es8336_remove, + .remove = sof_es8336_remove, .id_table = board_ids, }; module_platform_driver(sof_es8336_driver); |
