Skip to content

ACPI: driver: Cleanups and fixes, mostly related to acpi_device_name/class()

Rafael J. Wysocki driver-core linux-acpi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 3 repliesIn review
  2. v19 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8driver core: auxiliary bus: Introduce dev_is_auxiliary()drivers/base/auxiliary.c include/linux/auxiliary_bus.h+12 -02 replies
2/8ACPI: video: Rework checking for duplicate video bus devicesdrivers/acpi/acpi_video.c+28 -281 reply
3/8ACPI: video: Consolidate pnp.bus_id workarounds handlingdrivers/acpi/acpi_video.c+8 -100 replies
4/8ACPI: driver: Do not set acpi_device_name() unnecessarilydrivers/acpi/ac.c drivers/acpi/acpi_memhotplug.c drivers/acpi/acpi_pad.c +12 more+14 -460 replies
5/8ACPI: event: Redefine acpi_notifier_call_chain()drivers/acpi/ac.c drivers/acpi/acpi_video.c drivers/acpi/battery.c +2 more+16 -90 replies
6/8ACPI: driver: Avoid using pnp.device_class for netlink handlingdrivers/acpi/ac.c drivers/acpi/acpi_pad.c drivers/acpi/battery.c +3 more+18 -240 replies
7/8ACPI: driver: Do not set acpi_device_class() unnecessarilydrivers/acpi/ac.c drivers/acpi/acpi_memhotplug.c drivers/acpi/acpi_pad.c +13 more+5 -320 replies
8/8ACPI: AC: Define ACPI_AC_CLASS in one placedrivers/acpi/ac.c drivers/acpi/sbs.c drivers/gpu/drm/amd/include/amd_acpi.h +4 more+2 -90 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchIlpo JärvinenGreg Kroah-HartmanDanilo Krummrich
1/8R-b R-b
2/8R-b
3/8
4/8
5/8
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] ACPI: driver: Cleanups and fixes, mostly related to acpi_device_name/class()

Hi All,

This is an update of

https://lore.kernel.org/linux-acpi/[email protected]/

which is posted mostly because the first two patches from the v1 have been applied and next two ones have had to be rebased on top of a fix that went into the mainline yesterday.

There is one new patch in this set (patch [1/8]), two patches have been rebased and reordered with respect to each other (patches [2-3/8]), and the changelog of the last patch has been updated. There are no substantial changes relative to the v1 in the other patches.

This series

* Cleans up a couple of wonky things in the ACPI video bus driver (patches [1-3/8])
* Updates several drivers to stop setting acpi_device_name() which is not used anywhere later (patch [4/8])
* Adjusts notification APIs to be more consistent and in preparation for the next change (patch [5-6/8])
* Updates several drivers to stop setting acpi_device_class(), which is not used anywhere later, and one driver still using it (button) to clear it on remove (patch [7/8])
* Consolidates the ACPI_AC_CLASS definitions (patch [8/8]).

Thanks!