linux/sound/soc/sh/rcar
Uwe Kleine-König 5310f0a331
ASoC: sh: rcar: 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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230315150745.67084-133-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:59 +00:00
..
adg.c ASoC: rsnd: adg: Fix BRG typos 2023-02-16 13:11:35 +00:00
cmd.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
core.c ASoC: sh: rcar: Convert to platform remove callback returning void 2023-03-20 13:08:59 +00:00
ctu.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
debugfs.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
dma.c ASoC: rsnd: add R-Car Gen4 Sound support 2023-02-01 11:43:57 +00:00
dvc.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
gen.c ASoC: rsnd: add R-Car Gen4 Sound support 2023-02-01 11:43:57 +00:00
Makefile ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
mix.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
rsnd.h ASoC: rsnd: add R-Car Gen4 Sound support 2023-02-01 11:43:57 +00:00
src.c ASoC: rsnd: Add check for rsnd_mod_power_on 2022-09-02 13:27:16 +01:00
ssi.c ASoC: Use of_property_read_bool() for boolean properties 2023-03-11 12:18:55 +00:00
ssiu.c ASoC: rsnd: add R-Car Gen4 Sound support 2023-02-01 11:43:57 +00:00