linux-stable/sound/soc/intel/skylake
Uwe Kleine-König 394b2a11d9
ASoC: Intel: skl-ssp-clk: 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-105-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-20 13:08:34 +00:00
..
bxt-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
cnl-sst-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
cnl-sst-dsp.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
cnl-sst.c ASoC: Intel: fix error code cnl_set_dsp_D0() 2020-12-14 17:29:59 +00:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00
skl-debug.c ASoC: intel: skl: Fix possible buffer overflow in debug outputs 2020-02-19 13:36:15 +00:00
skl-i2s.h ASoC: Intel: Skylake: Replace zero-length array with flexible-array 2020-05-12 17:14:33 +01:00
skl-messages.c ASoC: Intel: Skylake: Fix struct definition 2023-02-14 13:25:19 +00:00
skl-nhlt.c ASoC: Intel: skylake: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:48 +01:00
skl-pcm.c ALSA: hda: remove redundant variable in snd_hdac_stream_start() 2023-02-10 10:06:50 +01:00
skl-ssp-clk.c ASoC: Intel: skl-ssp-clk: Convert to platform remove callback returning void 2023-03-20 13:08:34 +00:00
skl-ssp-clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-sst-cldma.c ASoC: Intel: Skylake: Use SG allocation for SKL-based firmware load 2022-12-07 14:19:05 +00:00
skl-sst-cldma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-dsp.c ASoC: Intel: Remove sst_pdata structure 2020-10-06 15:12:28 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Await purge request ack on CNL 2020-03-10 17:44:29 +00:00
skl-sst-ipc.c ASoC: Intel: Remove sst_dsp_get_thread_context 2020-10-06 15:12:29 +01:00
skl-sst-ipc.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: sst-utils: remove redundant assignment 2020-08-18 11:50:23 +01:00
skl-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
skl-topology.c ASoC: intel: use helper function 2023-01-31 11:05:01 +00:00
skl-topology.h ASoC: Intel: Skylake: Fix struct definition 2023-02-14 13:25:19 +00:00
skl.c ASoC: Intel: Skylake: Fix driver hang during shutdown 2022-12-07 14:19:04 +00:00
skl.h ASoC: Intel: Skylake: Use NHLT API to search for blob 2021-11-30 16:49:34 +01:00