diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-02-12 16:33:00 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-02-13 16:24:50 +0300 |
| commit | 1abdf9e7967f154b3d4bfe0681dd38b8e036ee63 (patch) | |
| tree | fa99f5a902ff38785bd0a80fa841ee9c0d8cba5b /scripts/kernel-doc | |
| parent | d323436b13f34b1df8261eb68989abda47e1785b (diff) | |
| download | linux-1abdf9e7967f154b3d4bfe0681dd38b8e036ee63.tar.xz | |
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 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
