[PATCH 0/7] ACPI: Convert to platform remove callback returning void

Rafael J. Wysocki rafael at kernel.org
Tue Feb 27 08:40:17 PST 2024


On Thu, Feb 22, 2024 at 7:52 PM Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
>
> Hello,
>
> this series converts all drivers below drivers/acpi to struct
> platform_driver::remove_new(). See commit 5c5a7680e67b ("platform:
> Provide a remove callback that returns no value") for an extended
> explanation and the eventual goal.
>
> All conversations are trivial, because their .remove() callbacks
> returned zero unconditionally.
>
> There are no interdependencies between these patches, so they could be
> picked up individually. But I'd hope that they get picked up all
> together by Rafael.
>
> There is another driver that needs adaption (as of today's next), but
> this is discussed separately, see
> https://lore.kernel.org/linux-acpi/CAJZ5v0jJX-6L9f_TLe-cv2MNnZVK7au=drbKCn-tEWEagY-9ZA@mail.gmail.com
> .
>
> Best regards
> Uwe
>
> Uwe Kleine-König (7):
>   ACPI: TAD: Convert to platform remove callback returning void
>   ACPI: AGDI: Convert to platform remove callback returning void
>   ACPI: DPTF: Convert to platform remove callback returning void
>   ACPI: GED: Convert to platform remove callback returning void
>   ACPI: fan: Convert to platform remove callback returning void
>   ACPI: pfr_telemetry: Convert to platform remove callback returning void
>   ACPI: pfr_update: Convert to platform remove callback returning void
>
>  drivers/acpi/acpi_tad.c           | 5 ++---
>  drivers/acpi/arm64/agdi.c         | 8 +++-----
>  drivers/acpi/dptf/dptf_pch_fivr.c | 6 ++----
>  drivers/acpi/dptf/dptf_power.c    | 6 ++----
>  drivers/acpi/evged.c              | 5 ++---
>  drivers/acpi/fan_core.c           | 6 ++----
>  drivers/acpi/pfr_telemetry.c      | 6 ++----
>  drivers/acpi/pfr_update.c         | 6 ++----
>  8 files changed, 17 insertions(+), 31 deletions(-)
>
> base-commit: 4893c639cc3659cefaa675bf1e59f4e7571afb5c
> --

The whole series has been applied as 6.9 material, thanks!



More information about the linux-arm-kernel mailing list