linux-stable/sound/soc/ti
Uwe Kleine-König 09382b0150
ASoC: ti: davinci-mcasp: 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-164-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:09:28 +00:00
..
ams-delta.c ASoC: ti: ams-delta: Convert to platform remove callback returning void 2023-03-20 13:09:26 +00:00
davinci-evm.c ASoC: remove unused davinci support 2023-01-12 10:53:12 +01:00
davinci-i2s.c ASoC: ti: davinci-i2s: Convert to platform remove callback returning void 2023-03-20 13:09:27 +00:00
davinci-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-mcasp.c ASoC: ti: davinci-mcasp: Convert to platform remove callback returning void 2023-03-20 13:09:28 +00:00
davinci-mcasp.h ASoC: ti: davinci-mcasp: Improve the sysclk selection 2019-12-09 18:35:37 +00:00
edma-pcm.c ASoC: ti: edma-pcm: Fix for legacy dma_slave_map based channel lookup 2019-08-30 12:22:46 +01:00
edma-pcm.h
j721e-evm.c ASoC: ti: j721e-evm: Fix refcount leak in j721e_soc_probe_* 2022-05-16 12:58:38 +01:00
Kconfig ASoC: remove unused davinci support 2023-01-12 10:53:12 +01:00
Makefile ASoC: remove unused davinci support 2023-01-12 10:53:12 +01:00
n810.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
omap-abe-twl6040.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
omap-dmic.c ASoC: ti: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:42 +01:00
omap-dmic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-hdmi.c ASoC: ti: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:42 +01:00
omap-mcbsp-priv.h ASoC: ti: omap-mcbsp: duplicate sysfs error 2022-07-07 17:16:21 +01:00
omap-mcbsp-st.c ASoC: omap: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:51 +01:00
omap-mcbsp.c ASoC: ti: omap-mcbsp: remove useless assignment 2022-08-31 12:13:05 +01:00
omap-mcbsp.h
omap-mcpdm.c ASoC: ti: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:42 +01:00
omap-mcpdm.h
omap-twl4030.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
omap3pandora.c ASoC: ti: use asoc_substream_to_rtd() 2020-07-23 19:07:21 +01:00
osk5912.c ASoC: ti: osk5912: Make it CCF clk API compatible 2022-04-12 21:08:10 +01:00
rx51.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sdma-pcm.c ASoC: omap: Replace HTTP links with HTTPS ones 2020-07-23 19:52:24 +01:00
sdma-pcm.h ASoC: omap: Replace HTTP links with HTTPS ones 2020-07-23 19:52:24 +01:00
udma-pcm.c ASoC: ti: Replace HTTP links with HTTPS ones 2020-07-23 19:52:21 +01:00
udma-pcm.h ASoC: ti: Replace HTTP links with HTTPS ones 2020-07-23 19:52:21 +01:00