linux/sound/soc/amd/ps
Uwe Kleine-König acb5c0b14b
ASoC: amd: ps-sdw-dma: 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 ignored (apart
from emitting a warning) 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. Eventually after all drivers
are converted, .remove_new() is renamed to .remove().

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>
Link: https://lore.kernel.org/r/20230707072830.3395789-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-07-09 22:47:13 +01:00
..
acp63.h ASoC: amd: ps: add fix for dma irq mask for rx streams for SDW0 instance 2023-06-26 13:28:57 +01:00
Makefile ASoC: amd: ps: enable SoundWire dma driver build 2023-06-20 23:30:30 +01:00
pci-ps.c ASoC: amd: ps: add acp_reset flag check in acp pci driver pm ops. 2023-06-20 23:30:32 +01:00
ps-mach.c ASoC: amd: fix ACP version typo mistake 2022-11-04 12:25:08 +00:00
ps-pdm-dma.c ASoC: amd: update pm_runtime enable sequence 2023-06-23 11:07:39 +01:00
ps-sdw-dma.c ASoC: amd: ps-sdw-dma: Convert to platform remove callback returning void 2023-07-09 22:47:13 +01:00