linux/sound/soc
Uwe Kleine-König 4ff299cb33
ASoC: fsl: fsl_mqs: 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-71-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:02 +00:00
..
adi ASoC: adi: axi-spdif: Convert to platform remove callback returning void 2023-03-20 13:07:10 +00:00
amd ASoC: amd: yc: acp6x-pdm-dma: Convert to platform remove callback returning void 2023-03-20 13:07:18 +00:00
apple ASoC: apple: mca: Convert to platform remove callback returning void 2023-03-20 13:07:18 +00:00
atmel ASoC: atmel: tse850-pcm5142: Convert to platform remove callback returning void 2023-03-20 13:07:28 +00:00
au1x ASoC: au1x: psc-i2s: Convert to platform remove callback returning void 2023-03-20 13:07:31 +00:00
bcm ASoC: bcm: cygnus-ssp: Convert to platform remove callback returning void 2023-03-20 13:07:33 +00:00
cirrus ASoC: cirrus: ep93xx-i2s: Convert to platform remove callback returning void 2023-03-20 13:07:35 +00:00
codecs ASoC: codecs: wm8998: Convert to platform remove callback returning void 2023-03-20 13:07:54 +00:00
dwc ASoC: dwc: dwc-i2s: Convert to platform remove callback returning void 2023-03-20 13:07:55 +00:00
fsl ASoC: fsl: fsl_mqs: Convert to platform remove callback returning void 2023-03-20 13:08:02 +00:00
generic ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
hisilicon
img
intel ASoC: Intel: sof_rt5682: Enable Bluetooth offload on adl_rt1019_rt5682 2023-03-13 19:08:06 +00:00
jz4740
kirkwood
mediatek ASoC: mt8192: Move spammy messages to debug level 2023-03-14 13:30:20 +00:00
meson
mxs ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
pxa - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
qcom ASoC: Merge up fixes as a dependency for future SOF work 2023-03-13 14:07:37 +00:00
rockchip
samsung ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
sh ASoC: Use of_property_read_bool() for boolean properties 2023-03-11 12:18:55 +00:00
sof ASoC: SOF: ipc4-topology: Add support for effect 2023-03-17 17:43:11 +00:00
spear
sprd
sti
stm ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
sunxi
tegra ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
ti sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c ASoC: soc-ac97: Return correct error codes 2023-02-15 16:09:07 +00:00
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c ASoC: soc-pcm.c: remove indirect runtime copy 2023-03-14 13:58:57 +00:00
soc-core.c ASoC: soc-core.c: remove useless dev_dbg() 2023-03-06 13:49:38 +00:00
soc-dai.c ASoC: soc-dai.c: add missing flag check at snd_soc_pcm_dai_probe() 2023-03-14 13:58:56 +00:00
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c ASoC: jack: allow multiple interrupt per gpio 2023-03-05 23:38:38 +00:00
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm.c: remove indirect runtime copy 2023-03-14 13:58:57 +00:00
soc-topology-test.c
soc-topology.c ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
soc-utils-test.c
soc-utils.c