linux/sound/soc/mediatek/mt8192
Uwe Kleine-König 26530339ac
ASoC: mediatek: mt8192-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-113-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:41 +00:00
..
Makefile ASoC: mediatek: mt8192: add machine driver with mt6359, rt1015 and rt5682 2020-11-04 17:51:52 +00:00
mt8192-afe-clk.c ASoC: mt8192: Remove function name log messages 2023-03-14 13:30:20 +00:00
mt8192-afe-clk.h
mt8192-afe-common.h ASoC: mediatek: mt8192: Allow setting shared clocks from machine driver 2022-09-09 18:48:52 +01:00
mt8192-afe-control.c
mt8192-afe-gpio.c ASoC: mediatek: mt8192: Make some symbols static 2020-11-05 14:52:32 +00:00
mt8192-afe-gpio.h
mt8192-afe-pcm.c ASoC: mediatek: mt8192-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:41 +00:00
mt8192-dai-adda.c ASoC: mt8192: Fix range for sidetone positive gain 2023-02-28 13:58:55 +00:00
mt8192-dai-i2s.c ASoC: mediatek: mt8192: Remove clock share parsing from DT 2022-09-09 18:48:54 +01:00
mt8192-dai-pcm.c ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8192-dai-tdm.c ASoC: mt8192: Move spammy messages to debug level 2023-03-14 13:30:20 +00:00
mt8192-interconnection.h
mt8192-mt6359-rt1015-rt5682.c ASoC: mt8192: Move spammy messages to debug level 2023-03-14 13:30:20 +00:00
mt8192-reg.h ASoC: mediatek: mt8192: fix tdm out data is valid on rising edge 2021-03-12 14:25:32 +00:00