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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 17/09/2023 um 22:37 schrieb Uwe Kleine-König:
Hello,

this series converts all platform drivers below drivers/platform/surface
to use .remove_new. The motivation is to get rid of an integer return
code that is (mostly) ignored by the platform driver core.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

Best regards
Uwe

Uwe Kleine-König (7):
   platform/surface: surface3-wmi: Convert to platform remove callback
     returning void
   platform/surface: acpi-notify: Convert to platform remove callback
     returning void
   platform/surface: aggregator-cdev: Convert to platform remove callback
     returning void
   platform/surface: aggregator-registry: Convert to platform remove
     callback returning void
   platform/surface: dtx: Convert to platform remove callback returning
     void
   platform/surface: gpe: Convert to platform remove callback returning
     void
   platform/surface: hotplug: Convert to platform remove callback
     returning void

  drivers/platform/surface/surface3-wmi.c                | 5 ++---
  drivers/platform/surface/surface_acpi_notify.c         | 6 ++----
  drivers/platform/surface/surface_aggregator_cdev.c     | 5 ++---
  drivers/platform/surface/surface_aggregator_registry.c | 5 ++---
  drivers/platform/surface/surface_dtx.c                 | 5 ++---
  drivers/platform/surface/surface_gpe.c                 | 6 ++----
  drivers/platform/surface/surface_hotplug.c             | 6 ++----
  7 files changed, 14 insertions(+), 24 deletions(-)


base-commit: dfa449a58323de195773cf928d99db4130702bf7

If it's not too late:

Reviewed-by: Maximilian Luz <luzmaximilian@xxxxxxxxx>

Thanks,
Max



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux