linux/arch/arm/mach-omap1
Uwe Kleine-König 74a5b94b62
ARM: 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.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shawn Guo <shawnguo@kernel.org> # for imx/mmdc
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230314103225.2787101-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-03-17 16:03:57 +01:00
..
ams-delta-fiq-handler.S ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ams-delta-fiq.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ams-delta-fiq.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-ams-delta.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
board-ams-delta.h ARM: OMAP1: ams-delta: Move AMS_DELTA_LATCH2_NGPIO to the board file 2018-11-29 12:05:34 -08:00
board-nokia770.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
board-osk.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
board-palmte.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
board-sx1-mmc.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
board-sx1.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
board-sx1.h treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_298.RULE 2022-06-10 14:51:36 +02:00
clock_data.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
clock.c ARM: OMAP1: clock: Convert to CCF 2022-06-03 20:48:53 +02:00
clock.h ARM: OMAP1: clock: Convert to CCF 2022-06-03 20:48:53 +02:00
common.h ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
devices.c ARM: omap1: remove unused omapxxxx.h headers 2023-01-12 10:53:11 +01:00
dma.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
fb.c ARM: omap: fix missing declaration warnings 2022-04-29 09:53:28 +02:00
flash.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
flash.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
gpio15xx.c ARM: omap1: fix building gpio15xx 2023-01-10 23:05:33 +01:00
gpio16xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 1) 2022-06-10 14:51:35 +02:00
hardware.h ARM: omap1: remove unused omapxxxx.h headers 2023-01-12 10:53:11 +01:00
i2c.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
id.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
io.c ARM: omap1: merge omap1_map_io functions 2023-01-12 10:53:11 +01:00
iomap.h
irq.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
irqs.h ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
Kconfig ARM: omap1: remove osk-mistral add-on board support 2023-01-12 10:53:11 +01:00
Makefile ARM: omap1: remove unused board files 2023-01-12 10:53:11 +01:00
mcbsp.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtd-xip.h ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
mux.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
mux.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
ocpi.c ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF 2022-04-22 11:08:55 +02:00
omap-dma.c ARM: Convert to platform remove callback returning void 2023-03-17 16:03:57 +01:00
opp_data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
opp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pm_bus.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 1) 2022-06-10 14:51:35 +02:00
pm.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
pm.h ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
reset.c ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
serial.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
serial.h ARM: omap1: enable multiplatform 2022-06-03 20:48:53 +02:00
sleep.S ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
soc.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
sram-init.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
sram.h ARM: omap: un-merge plat/sram.c 2022-04-22 11:08:55 +02:00
sram.S ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
tc.h ARM: omap1: move mach/*.h into mach directory 2022-04-22 11:08:55 +02:00
time.c ARM: OMAP1: clock: Convert to CCF 2022-06-03 20:48:53 +02:00
timer32k.c ARM: omap: fix missing declaration warnings 2022-04-29 09:53:28 +02:00
timer.c ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init() 2023-01-19 11:57:57 +02:00
usb.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
usb.h ARM: omap1: move mach/usb.h to include/linux/soc 2022-04-21 15:00:59 +02:00