]> www.infradead.org Git - users/dwmw2/linux.git/commit
sound: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 29 Oct 2024 07:37:47 +0000 (08:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2024 13:47:59 +0000 (14:47 +0100)
commite3fc2fd77c63cd2e37ebd33a336602a68650f22b
tree42391d284c863ee811a9956040344ca1c887e322
parent5289d00696396224507ee083f5aee6119569c8d3
sound: 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 sound 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.

On the way do a few whitespace changes to make indention consistent.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20241029073748.508077-2-u.kleine-koenig@baylibre.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 files changed:
sound/arm/pxa2xx-ac97.c
sound/atmel/ac97c.c
sound/drivers/mts64.c
sound/drivers/pcmtest.c
sound/drivers/portman2x4.c
sound/mips/hal2.c
sound/mips/sgio2audio.c
sound/oss/dmasound/dmasound_paula.c
sound/pci/hda/hda_tegra.c
sound/ppc/powermac.c
sound/sh/aica.c
sound/sh/sh_dac_audio.c
sound/sparc/cs4231.c
sound/sparc/dbri.c