linux/drivers/mmc/host
Yangtao Li a29e8b51a0 mmc: sdhci-of-aspeed: Convert to platform remove
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.

Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230727070051.17778-33-frank.li@vivo.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2023-08-15 12:45:05 +02:00
..
alcor.c mmc: alcor: fix return value check of mmc_add_host() 2022-12-07 13:22:34 +01:00
atmel-mci.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
au1xmmc.c mmc: au1xmmc: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
bcm2835.c mmc: bcm2835: Convert to platform remove callback returning void 2023-08-15 12:45:03 +02:00
cavium-octeon.c mmc: cavium-octeon: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
cavium-thunderx.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
cavium.c
cavium.h
cb710-mmc.c mmc: cb710: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
cb710-mmc.h
cqhci-core.c
cqhci-crypto.c
cqhci-crypto.h
cqhci.h mmc: mtk-sd: reduce CIT for better performance 2023-06-12 15:20:08 +02:00
davinci_mmc.c mmc: davinci_mmc: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
dw_mmc-bluefield.c mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc-exynos.c mmc: dw_mmc: exynos: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
dw_mmc-exynos.h
dw_mmc-hi3798cv200.c mmc: dw_mmc: hi3798cv200: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
dw_mmc-k3.c mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc-pci.c
dw_mmc-pltfm.c mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc-pltfm.h mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc-rockchip.c
dw_mmc-starfive.c mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc.c MMC core: 2022-12-13 13:41:26 -08:00
dw_mmc.h
jz4740_mmc.c mmc: jz4740: Convert to platform remove callback returning void 2023-08-15 12:45:03 +02:00
Kconfig mmc: sdhci-msm: Switch to the new ICE API 2023-06-12 15:20:08 +02:00
litex_mmc.c mmc: litex_mmc: Convert to platform remove callback returning void 2023-08-15 12:45:03 +02:00
Makefile MMC core: 2023-02-27 09:47:26 -08:00
meson-gx-mmc.c mmc: meson-gx: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
meson-mx-sdhc-clkc.c
meson-mx-sdhc-mmc.c mmc: meson-mx-sdhc: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
meson-mx-sdhc.h
meson-mx-sdio.c
mmc_hsq.c mmc: mmc-hsq: Use fifo to dispatch mmc_request 2022-12-07 13:29:14 +01:00
mmc_hsq.h mmc: mmc-hsq: Use fifo to dispatch mmc_request 2022-12-07 13:29:14 +01:00
mmc_spi.c mmc: mmc_spi: fix error handling in mmc_spi_probe() 2023-02-14 00:09:17 +01:00
mmci.c mmc: mmci: Improve ux500 debug prints 2023-08-09 13:21:47 +02:00
mmci.h mmc: mmci: Add support for SW busy-end timeouts 2023-06-22 11:06:37 +02:00
mmci_qcom_dml.c
mmci_stm32_sdmmc.c mmc: mmci: Add support for SW busy-end timeouts 2023-06-22 11:06:37 +02:00
moxart-mmc.c mmc: moxart: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
mtk-sd.c mmc: mtk-sd: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
mvsdio.c mmc: mvsdio: fix deferred probing 2023-06-19 13:31:12 +02:00
mvsdio.h
mxcmmc.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
mxs-mmc.c mmc: mxs-mmc: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
of_mmc_spi.c
omap.c mmc: omap: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
omap_hsmmc.c mmc: omap_hsmmc: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
owl-mmc.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
pxamci.c mmc: pxamci: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
pxamci.h
renesas_sdhi.h mmc: renesas_sdhi: use plain numbers for end_flags 2022-12-07 13:28:22 +01:00
renesas_sdhi_core.c mmc: renesas_sdhi: remove outdated indentation 2023-08-09 13:21:47 +02:00
renesas_sdhi_internal_dmac.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
renesas_sdhi_sys_dmac.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
rtsx_pci_sdmmc.c mmc: rtsx_pci: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
rtsx_usb_sdmmc.c mmc: rtsx_usb_sdmmc: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-acpi.c mmc: sdhci-acpi: fix deferred probing 2023-06-19 13:31:12 +02:00
sdhci-bcm-kona.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-brcmstb.c mmc: sdhci-brcmstb: Use devm_platform_get_and_ioremap_resource() 2023-02-15 13:24:03 +01:00
sdhci-cadence.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-cqhci.h mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI 2022-11-07 13:28:47 +01:00
sdhci-dove.c
sdhci-esdhc-imx.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-esdhc-mcf.c
sdhci-esdhc.h
sdhci-iproc.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-milbeaut.c mmc: sdhci: milbeaut: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
sdhci-msm.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-of-arasan.c mmc: sdhci-of-arasan: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-of-aspeed-test.c
sdhci-of-aspeed.c mmc: sdhci-of-aspeed: Convert to platform remove 2023-08-15 12:45:05 +02:00
sdhci-of-at91.c mmc: sdhci-of-at91: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
sdhci-of-dwcmshc.c mmc: sdhci-of-dwcmshc: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data 2023-03-24 16:48:01 +01:00
sdhci-of-hlwd.c
sdhci-of-sparx5.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-omap.c mmc: sdhci-omap: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-pci-arasan.c
sdhci-pci-core.c mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for UHS-I 2023-08-11 12:30:54 +02:00
sdhci-pci-dwc-mshc.c
sdhci-pci-gli.c mmc: sdhci-pci-gli: Add support SD Express card for GL9767 2023-06-12 15:20:08 +02:00
sdhci-pci-o2micro.c mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for express card 2023-08-11 12:30:54 +02:00
sdhci-pci.h mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for UHS-I 2023-08-11 12:30:54 +02:00
sdhci-pic32.c mmc: sdhci-pic32: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
sdhci-pltfm.c mmc: sdhci: drop useless sdhci_get_compatibility() !OF stub 2023-03-23 11:48:57 +01:00
sdhci-pltfm.h
sdhci-pxav2.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-pxav3.c mmc: sdhci-pxav3: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
sdhci-s3c.c mmc: sdhci-s3c: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-spear.c mmc: sdhci-spear: remove redundant of_match_ptr() 2023-08-09 13:28:31 +02:00
sdhci-sprd.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-st.c mmc: sdhci-st: Use devm_platform_ioremap_resource_byname() 2023-08-09 13:21:48 +02:00
sdhci-tegra.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
sdhci-xenon-phy.c
sdhci-xenon.c mmc: xenon: Convert to platform remove callback returning void 2023-08-15 12:45:05 +02:00
sdhci-xenon.h
sdhci.c mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used. 2023-06-12 15:19:47 +02:00
sdhci.h mmc: sdhci: Add VDD2 definition for power control register 2023-06-12 15:20:08 +02:00
sdhci_am654.c mmc: sdhci_am654: Add support for PM suspend/resume 2023-04-04 13:50:08 +02:00
sdhci_f_sdh30.c mmc: sdhci-f-sdh30: Replace with sdhci_pltfm 2023-07-14 11:28:55 +02:00
sdhci_f_sdh30.h mmc: f-sdh30: Add support for non-removable media 2022-12-07 13:22:36 +01:00
sdricoh_cs.c mmc: sdricoh_cs: remove unused sdricoh_readw function 2023-03-24 16:48:01 +01:00
sh_mmcif.c mmc: sh_mmcif: Convert to platform remove callback returning void 2023-08-15 12:45:04 +02:00
sunplus-mmc.c mmc: remove unnecessary set_drvdata() function 2023-08-09 15:44:17 +02:00
sunxi-mmc.c mmc: sunxi: Convert to platform remove callback returning void 2023-08-15 12:45:03 +02:00
tifm_sd.c mmc: tifm_sd: Replace kmap_atomic() with kmap_local_page() 2022-12-07 13:22:32 +01:00
tmio_mmc.h mmc: tmio: remove tmio_mmc_k(un)map_atomic helpers 2022-12-07 13:22:36 +01:00
tmio_mmc_core.c mmc: Use of_property_read_bool() for boolean properties 2023-03-23 11:30:20 +01:00
toshsd.c mmc: toshsd: fix return value check of mmc_add_host() 2022-12-07 13:22:34 +01:00
toshsd.h
uniphier-sd.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00
usdhi6rol0.c mmc: usdhi60rol0: fix deferred probing 2023-06-19 13:32:39 +02:00
ushc.c
via-sdmmc.c mmc: remove unnecessary set_drvdata() function 2023-08-09 15:44:17 +02:00
vub300.c mmc: vub300: fix invalid response handling 2023-05-24 14:30:51 +02:00
wbsd.c mmc: remove unnecessary set_drvdata() function 2023-08-09 15:44:17 +02:00
wbsd.h
wmt-sdmmc.c mmc: Explicitly include correct DT includes 2023-08-09 13:21:48 +02:00