linux-stable/drivers/acpi/arm64
Uwe Kleine-König 858a56630a ACPI: AGDI: Improve error reporting for problems during .remove()
Returning an error value in a platform driver's remove callback results in
a generic error message being emitted by the driver core, but otherwise it
doesn't make a difference. The device goes away anyhow.

So instead of triggering the generic platform error message, emit a more
helpful message if a problem occurs and return 0 to suppress the generic
message.

This patch is a preparation for making platform remove callbacks return
void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Link: https://lore.kernel.org/r/20221014160623.467195-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Will Deacon <will@kernel.org>
2023-04-17 12:26:03 +01:00
..
Kconfig ACPI: ARM Performance Monitoring Unit Table (APMT) initial support 2022-11-07 14:02:11 +00:00
Makefile ACPI: ARM Performance Monitoring Unit Table (APMT) initial support 2022-11-07 14:02:11 +00:00
agdi.c ACPI: AGDI: Improve error reporting for problems during .remove() 2023-04-17 12:26:03 +01:00
apmt.c ACPI: APMT: Fix kerneldoc and indentation 2022-11-15 13:09:44 +00:00
dma.c ACPI: scan: Support multiple DMA windows with different offsets 2022-09-24 18:39:21 +02:00
gtdt.c acpi/arm64: fix next_platform_timer() section mismatch error 2021-10-12 17:41:19 +01:00
iort.c ACPI/IORT: Update SMMUv3 DeviceID support 2022-11-07 15:39:03 +00:00