linux/sound/soc/samsung
Uwe Kleine-König 0b309358b8
ASoC: samsung: i2s: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230315150745.67084-126-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:52 +00:00
..
aries_wm8994.c ASoC: samsung: Use iio_get_channel_type() accessor. 2022-08-22 14:07:22 +01:00
arndale.c ASoC: samsung: arndale: Convert to platform remove callback returning void 2023-03-20 13:08:51 +00:00
bells.c
dma.h
dmaengine.c
i2s-regs.h ASoC: samsung: i2s: add support for FSD I2S 2023-01-17 13:16:04 +00:00
i2s.c ASoC: samsung: i2s: Convert to platform remove callback returning void 2023-03-20 13:08:52 +00:00
i2s.h
idma.c
idma.h
Kconfig ASoC: samsung: remove unused drivers 2023-01-16 09:26:06 +01:00
littlemill.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
lowland.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
Makefile ASoC: samsung: remove unused drivers 2023-01-16 09:26:06 +01:00
midas_wm1811.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
odroid.c ASoC: soc.h: remove num_cpus/codecs 2022-09-20 12:19:30 +01:00
pcm.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
pcm.h
smdk_spdif.c
smdk_wm8994.c
smdk_wm8994pcm.c
snow.c ASoC: samsung: snow: simplify error handling 2022-06-06 12:35:21 +01:00
spdif.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
spdif.h
speyside.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
tm2_wm5110.c
tobermory.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00