diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-08-31 22:07:10 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-01 21:45:50 +0200 |
| commit | 4a819ee5f2834330656d6ac168c4c8cf27fdeec2 (patch) | |
| tree | f0535f7116164ceeb4060e8be2eb23a687a66a63 /scripts | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
ACPI: bus: Drop two fields from struct acpi_device_pnp
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 now they
are only set for the bus object in acpi_set_pnp_ids() (and never
read afterward).
Drop them along with all of the associated symbols except for
MAX_ACPI_CLASS_NAME_LEN and the acpi_device_class typedef that
are used by the ACPI netlink messaging code. Move those two
definitions closer to the struct acpi_bus_event that refers to
the acpi_device_class type.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/6314925.lOV4Wx5bFT@rafael.j.wysocki
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
