linux/sound/soc/intel
Uwe Kleine-König 2dc1d3c55d
ASoC: Intel: bytcr_rt5640: 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-96-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:25 +00:00
..
atom ASoC: Intel: sst: Convert to platform remove callback returning void 2023-03-20 13:08:23 +00:00
avs ASoC: Merge up fixes as a dependency for future SOF work 2023-03-13 14:07:37 +00:00
boards ASoC: Intel: bytcr_rt5640: Convert to platform remove callback returning void 2023-03-20 13:08:25 +00:00
catpt ASoC: Intel: catpt: Drop SND_SOC_ACPI_INTEL_MATCH dependency 2022-08-16 13:08:03 +01:00
common ASoC: Intel: soc-acpi: fix copy-paste issue in topology names 2023-03-07 13:57:57 +00:00
keembay ASoC: Intel: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:27 +01:00
skylake ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
Kconfig ASoC: Intel: avs: Probe compress operations 2022-12-05 14:05:27 +00:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00