linux/sound/soc/mediatek/mt8195
Uwe Kleine-König 6461fee680
ASoC: mediatek: mt8195-afe-pcm: 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>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230315150745.67084-114-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:42 +00:00
..
Makefile ASoC: mediatek: mt8195: merge machine driver 2022-04-04 08:39:38 +01:00
mt8195-afe-clk.c ASoC: mediatek: mt8195: update audio tuner settings 2022-09-28 12:30:48 +01:00
mt8195-afe-clk.h ASoC: mediatek: mt8195: enable apll tuner 2022-02-21 13:24:56 +00:00
mt8195-afe-common.h ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00
mt8195-afe-pcm.c ASoC: mediatek: mt8195-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:42 +00:00
mt8195-audsys-clk.c ASoC: mediatek: mt8195: update audsys clock parent name 2021-10-08 17:22:50 +01:00
mt8195-audsys-clk.h
mt8195-audsys-clkid.h
mt8195-dai-adda.c ASoC: mediatek: mt8195: add dai id check before accessing array 2023-03-13 14:08:37 +00:00
mt8195-dai-etdm.c ASoC: mediatek: mt8195: add dai id check before accessing array 2023-03-13 14:08:37 +00:00
mt8195-dai-pcm.c ASoC: mediatek: mt8195: add dai id check before accessing array 2023-03-13 14:08:37 +00:00
mt8195-mt6359.c ASoC: mediatek: mt9195-mt6359: fix UNINIT problem 2023-03-13 14:08:37 +00:00
mt8195-reg.h ASoC: mediatek: mt8195: correct pcmif BE dai control flow 2021-12-31 13:20:57 +00:00