summaryrefslogtreecommitdiff
path: root/include/asm-mips/sgi/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-03-13 14:00:41 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-03-13 16:48:26 +0100
commite18947038bf4f39d47cdba511f85a9af668d56e1 (patch)
treec7056c71fc10828ee80bbe07188c3841ee8560ee /include/asm-mips/sgi/git@git.tavy.me:linux.git
parent76866c912ac8639965861c648fa234ab61c0e72d (diff)
ACPI: driver: Do not set acpi_device_class() unnecessarily
Several core ACPI device drivers set acpi_device_class() for the given struct acpi_device to whatever they like, but that value is never used unless the driver itself uses it and, sadly, they neglect to clear it on remove. Since the only one of them still using acpi_device_class() after previous changes is the button driver, update the others to stop setting it in vain. Also drop the related device class sybmols that become redundant. Since the ACPI button driver continues to use acpi_device_class(), make it clear the struct field represented by acpi_device_class() in its remove callback. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/3706295.iIbC2pHGDl@rafael.j.wysocki
Diffstat (limited to 'include/asm-mips/sgi/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions