linux/arch/powerpc/platforms
Uwe Kleine-König 8739312ed2 powerpc/512x: lpbfifo: 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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230711143145.1192651-1-u.kleine-koenig@pengutronix.de
2023-07-17 15:13:48 +10:00
..
4xx powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
8xx powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
40x powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
44x powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
52xx powerpc: 52xx: Make immr_id DT match tables static 2023-06-21 15:13:56 +10:00
82xx powerpc: drop MPC8272-ADS and PowerQUICC II FADS shared code. 2023-04-20 13:21:48 +10:00
83xx powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
85xx powerpc: drop MPC85xx_CDS platform support 2023-06-21 14:08:53 +10:00
86xx powerpc: delete empty config entry for PPC_86xx 2023-05-15 23:25:56 +10:00
512x powerpc/512x: lpbfifo: Convert to platform remove callback returning void 2023-07-17 15:13:48 +10:00
amigaone powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
book3s driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
cell powerpc/spufs: remove unneeded if-checks 2023-05-15 23:25:56 +10:00
chrp powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
embedded6xx powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set 2023-06-09 23:29:50 +10:00
maple powerpc: Use of_property_read_bool() for boolean properties 2023-03-30 23:36:35 +11:00
microwatt powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
pasemi powerpc: Use of_property_read_bool() for boolean properties 2023-03-30 23:36:35 +11:00
powermac powerpc updates for 6.5 2023-06-30 09:20:08 -07:00
powernv powerpc: powernv: Annotate data races in opal events 2023-06-21 15:13:57 +10:00
ps3 powerpc/platforms: Use 'compatible' property for simple cases 2023-03-15 00:52:10 +11:00
pseries powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close 2023-07-17 10:35:06 +10:00
fsl_uli1575.c powerpc/fsl_uli1575: Mark uli_exclude_device() as static 2023-04-20 10:20:50 +10:00
Kconfig powerpc/fsl_uli1575: fix kconfig warnings and build errors 2023-05-08 23:00:00 +10:00
Kconfig.cputype powerpc/64: vmlinux support building with PCREL addresing 2023-04-20 12:59:21 +10:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00