Skip to content

ACPI: update acpi_bus_register_driver() signature

Bjorn Helgaas linux-acpi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI: update asus_acpi driver registrationdrivers/acpi/asus_acpi.c+17 -10 replies
2/4ACPI: fix sonypi ACPI driver registrationdrivers/char/sonypi.c+5 -50 replies
3/4ACPI: make acpi_bus_register_driver() return success/failure, not device countdrivers/acpi/scan.c+5 -110 replies
4/4ACPI: simplify scan.c codingdrivers/acpi/scan.c+13 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ACPI: update acpi_bus_register_driver() signature

Registering a driver makes the driver available for devices, even devices that may be hot-added later. So the registration itself should return only success or failure, not the number of devices found.

pci_register_driver(), platform_driver_register(), and driver_register() already work this way. This series makes acpi_bus_register_driver() also work that way.