Re: [PATCH v1 00/10] platform/x86: Stop using acpi_device_name/class()
From: Ilpo Järvinen
Date: Mon Jul 06 2026 - 15:01:04 EST
On Fri, 03 Jul 2026 13:15:01 +0200, Rafael J. Wysocki wrote:
> There are two fields in struct acpi_device_pnp, device_name and device_class,
> that were supposed to be populated and used by device drivers, but they have
> never been used consistently and some drivers just populate them and don't
> access them later, and some drivers use them uninitialized.
>
> All of that is confusing and messy, so the drivers for core ACPI devices
> have been updated to stop using those fields which are now slated for
> removal, but they are still accessed in some places.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent or clearly a regression fix.
The list of commits applied:
[01/10] platform/x86: asus-laptop: Stop setting acpi_device_name/class()
commit: d8258e35a542cb3cc76b0288d823954044d0770d
[02/10] platform/x86: eeepc-laptop: Stop setting acpi_device_name/class()
commit: c327e5c90164837667b4d5a81575451c6bfb91aa
[03/10] platform/x86: fujitsu-laptop: Stop setting acpi_device_name/class()
commit: c0948dcbc48a96c042951d238a2c5c83babf07b8
[04/10] platform/x86: fujitsu-tablet: Stop setting acpi_device_name/class()
commit: 852a85c15a7fd817f6295cc3afaa7790022cf8b3
[05/10] platform/x86: thinkpad_acpi: Stop setting acpi_device_class()
commit: fc0ed8545cb099a3acaae407299a35994d5ba688
[06/10] platform/x86: panasonic-laptop: Stop setting acpi_device_name/class()
commit: 68a04fe822ac0a39afd600208d064c8fde2c0221
[07/10] platform/x86: sony-laptop: Stop setting acpi_device_class()
commit: d3d6f7e72a777b582a949731a1b4f431c5d4d23a
[08/10] platform/x86: toshiba_acpi: Do not use uninitialized device_class
commit: 5fec95ebc3ad69e778c61f85cf35056b69c8506e
[09/10] platform/x86: toshiba_haps: Do not use uninitialized device_class
commit: a3fbc0114add40c96c3955e3ba9836eee49902fc
[10/10] platform/x86: xo15-ebook: Stop setting acpi_device_name/class()
commit: 90a0805bc911cd2135c6b1d6d5899a6507f6dbba
--
i.