]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: HED: Convert the driver to a platform one
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Dec 2025 14:19:08 +0000 (15:19 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 29 Dec 2025 20:04:10 +0000 (21:04 +0100)
commit6e35ab507c88c358274439745d5e574a7e05d7a1
treee5f2b7ad94397752101690a71eeab063cabb7abe
parent6cba60361b8922b140ee460220f291d45448d537
ACPI: HED: Convert the driver to a platform one

While binding drivers directly to struct acpi_device objects allows
basic functionality to be provided, at least in the majority of cases,
there are some problems with it, related to general consistency, sysfs
layout, power management operation ordering, and code cleanliness.

Overall, it is better to bind drivers to platform devices than to their
ACPI companions, so convert the ACPI hardware error device (HED) driver
to a platform one.

While this is not expected to alter functionality, it changes sysfs
layout and so it will be visible to user space.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/8620378.T7Z3S40VBb@rafael.j.wysocki
drivers/acpi/hed.c