mbox series

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

Message ID cover.1708627599.git.u.kleine-koenig@pengutronix.de
Headers show
Series ACPI: Convert to platform remove callback returning void | expand

Message

Uwe Kleine-König Feb. 22, 2024, 6:52 p.m. UTC
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

Comments

Rafael J. Wysocki Feb. 27, 2024, 4:40 p.m. UTC | #1
On Thu, Feb 22, 2024 at 7:52 PM Uwe Kleine-König
<u.kleine-koenig@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!