linux/drivers/dma/dw
Uwe Kleine-König 67572bfe2e dmaengine: dw: platform: 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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20230919133207.1400430-12-u.kleine-koenig@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-09-28 13:10:47 +05:30
..
acpi.c dmaengine: dw: Register ACPI DMA controller for PCI that has companion 2020-06-16 21:54:47 +05:30
core.c dmaengine: dw: Move check for paused channel to dwc_get_residue() 2023-02-16 18:45:48 +05:30
dw.c dmaengine: dw: Ignore burst setting for memory peripherals 2020-08-17 11:58:31 +05:30
idma32.c dmaengine: dw: Program xBAR hardware for Elkhart Lake 2021-07-14 10:16:30 +05:30
internal.h dmaengine: dw: Program xBAR hardware for Elkhart Lake 2021-07-14 10:16:30 +05:30
Kconfig dmaengine: dw: dmamux: Introduce RZN1 DMA router support 2022-05-19 22:34:51 +05:30
Makefile dmaengine: dw: dmamux: Introduce RZN1 DMA router support 2022-05-19 22:34:51 +05:30
of.c dmaengine: dw: Simplify DT property parser 2021-08-06 19:18:59 +05:30
pci.c dmaengine: dw: switch from 'pci_' to 'dma_' API 2021-10-26 10:54:32 +05:30
platform.c dmaengine: dw: platform: Convert to platform remove callback returning void 2023-09-28 13:10:47 +05:30
regs.h dmaengine: dw: Introduce max burst length hw config 2020-07-27 14:30:55 +05:30
rzn1-dmamux.c dmaengine: Explicitly include correct DT includes 2023-08-01 23:51:27 +05:30