]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: video: Convert the driver to a platform one
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Jan 2026 11:53:53 +0000 (12:53 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 15 Jan 2026 13:27:06 +0000 (14:27 +0100)
commit02c057ddefef592a882c5815f22630901d9ab344
tree7d90d3e5f05b7cdba09fccbb7c5d64380a8c8896
parentd91a624a69631f852efc2ec7d910d5439277e47f
ACPI: video: 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 video 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>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/1957556.tdWV9SEqCh@rafael.j.wysocki
drivers/acpi/acpi_video.c