linux/drivers/parisc
Uwe Kleine-König 26dd48780b parisc: led: 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() will be 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: Helge Deller <deller@gmx.de>
2024-03-08 10:00:07 +01:00
..
asp.c parisc: asp: Initialize asp driver via arch_initcall() 2023-08-27 11:09:10 +02:00
ccio-dma.c parisc: ccio-dma: Fix sparse warnings 2023-08-31 21:42:42 +02:00
dino.c parisc: dino: Convert dino PCI bus driver to use arch_initcall() 2023-08-27 09:17:37 +02:00
eisa_eeprom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
eisa_enumerator.c parisc: Fix spelling mistake "mis-match" -> "mismatch" in eisa driver 2022-10-14 20:06:30 +02:00
eisa.c parisc: eisa: Convert HP EISA bus driver to use arch_initcall() 2023-08-27 09:17:37 +02:00
gsc.c parisc: lasi: Initialize LASI driver via arch_initcall() 2023-08-27 11:09:10 +02:00
gsc.h parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-03-29 21:37:12 +02:00
hppb.c parisc: hppb: Convert HP PB bus driver to use arch_initcall() 2023-08-27 09:17:37 +02:00
iommu-helpers.h parisc: ccio-dma: Fix sparse warnings 2023-08-31 21:42:42 +02:00
iommu.h parisc: properly type the return value of parisc_walk_tree 2019-02-21 20:37:12 +01:00
iosapic_private.h parisc: iosapic.c: Fix sparse warnings 2023-08-31 21:42:42 +02:00
iosapic.c parisc: iosapic.c: Fix sparse warnings 2023-08-31 21:42:42 +02:00
Kconfig parisc: led: Rewrite LED/LCD driver to utilizize Linux LED subsystem 2023-08-28 17:58:14 +02:00
lasi.c parisc: lasi: Initialize LASI driver via arch_initcall() 2023-08-27 11:09:10 +02:00
lba_pci.c parisc: lba: Convert LBA PCI bus driver to use arch_initcall() 2023-08-27 09:25:48 +02:00
led.c parisc: led: Convert to platform remove callback returning void 2024-03-08 10:00:07 +01:00
Makefile parisc: Makefile: Adjust order in which drivers should be loaded 2023-08-27 09:17:37 +02:00
pdc_stable.c parisc: pdc_stable: Fix kdoc and compiler warnings 2023-06-30 17:14:14 +02:00
power.c parisc/power: Fix power soft-off button emulation on qemu 2024-01-07 22:59:16 +01:00
README.dino
sba_iommu.c parisc: sba-iommu: Fix comment when calculating IOC number 2023-10-30 14:54:40 +01:00
superio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wax.c parisc: wax: Initialize wax driver via arch_initcall() 2023-08-27 11:09:10 +02:00

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?locale=en_US&prodTypeId=12454&prodSeriesId=44443
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/