linux/sound/soc/mediatek/mt8183
Uwe Kleine-König 718041d46c
ASoC: mediatek: mt8183-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-111-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:39 +00:00
..
Makefile
mt8183-afe-clk.c
mt8183-afe-clk.h
mt8183-afe-common.h ASoC: mediatek: mt8183: Allow setting shared clocks from machine driver 2022-09-09 18:48:55 +01:00
mt8183-afe-pcm.c ASoC: mediatek: mt8183-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:39 +00:00
mt8183-da7219-max98357.c ASoC: codecs: da7219: Do not export da7219_aad_jack_det() 2022-11-10 17:50:21 +00:00
mt8183-dai-adda.c
mt8183-dai-hostless.c
mt8183-dai-i2s.c ASoC: mt8183: Fix event generation for I2S DAI operations 2023-02-28 13:58:47 +00:00
mt8183-dai-pcm.c ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8183-dai-tdm.c
mt8183-interconnection.h
mt8183-mt6358-ts3a227-max98357.c ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe() 2022-12-07 14:19:15 +00:00
mt8183-reg.h