diff options
| author | 2026-05-22 16:53:48 +0200 | |
|---|---|---|
| committer | 2026-05-25 09:52:34 +0200 | |
| commit | 3109f9f38800841e46769e95e1ba11f1f8c7b230 (patch) | |
| tree | 73f5bbffd2dbc583bde2b25d34fda2d4b5d2a45e /scripts/Makefile.thinlto | |
| parent | ACPI: button: Enable wakeup GPEs for ACPI buttons at probe time (diff) | |
ACPI: button: Add missing device class clearing on probe failures
Commit e18947038bf4 ("ACPI: driver: Do not set acpi_device_class()
unnecessarily") modified acpi_button_remove() to clear the device class
field in struct acpi_device on driver removal, but it should also have
updated the rollback path in acpi_button_probe(), which it didn't do,
so do it now.
Fixes: e18947038bf4 ("ACPI: driver: Do not set acpi_device_class() unnecessarily")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/6167713.MhkbZ0Pkbq@rafael.j.wysocki
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
