summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-12-15 15:03:28 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-12-26 15:11:38 +0100
commit0a869409a981112565fac055739e9e2fd8575ade (patch)
tree5c25ae498835ea6b9aba3d02abd215c30c4d9ec9 /include
parent0d17aafa79c6c5693a740a5b6c2693203e4043ee (diff)
ACPI: battery: 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 battery 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/3187448.CbtlEUcBR6@rafael.j.wysocki
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions