summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-02-12 14:33:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-02-13 14:24:50 +0100
commit1abdf9e7967f154b3d4bfe0681dd38b8e036ee63 (patch)
treefa99f5a902ff38785bd0a80fa841ee9c0d8cba5b /rust/alloc/collections/git@git.tavy.me:linux.git
parentd323436b13f34b1df8261eb68989abda47e1785b (diff)
ACPI: button: Tweak acpi_button_remove()
Modify acpi_button_remove() to get the ACPI device object pointer from button->adev instead of retrieving it with the help of the ACPI_COMPANION() macro to reduce overhead slightly. While at it, rename the struct acpi_device pointer variable in acpi_button_remove() to adev. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/13948466.uLZWGnKmhe@rafael.j.wysocki
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions