]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: TAD: Use dev_groups in struct device_driver
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Mar 2026 20:29:29 +0000 (21:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 4 Apr 2026 17:18:57 +0000 (19:18 +0200)
commit93afe8ba9b0179b8e42777dad530db3ad9c9e835
tree0fa6e4cc8019467e51ede743d807c0fd17a410c4
parent6db176eb41ad51e48a97431c9fbc0680aa338e5f
ACPI: TAD: Use dev_groups in struct device_driver

Instead of creating and removing the device sysfs attributes directly
during probe and remove of the driver, respectively, use dev_groups in
struct device_driver to point to the attribute definitions and let the
core take care of creating and removing them.

No intentional functional impact.

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