diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-01 19:55:53 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-01 20:17:49 +0300 |
| commit | c64db50c13719a38e0ea290f686aa9cf79dc0342 (patch) | |
| tree | 3a4287aadc9d39088208ff03ac9a6979e6f759d3 /include/linux/timerqueue.h | |
| parent | f8600e0d1ac60e6eac34bc9c7e8cf78f7a4c368f (diff) | |
| download | linux-c64db50c13719a38e0ea290f686aa9cf79dc0342.tar.xz | |
ACPI: button: Pass ACPI handle to acpi_lid_evaluate_state()
Make it clear that acpi_lid_evaluate_state() only uses the ACPI handle
of the lid by changing its argument to acpi_handle and adjust its
callers accordingly.
Also save the ACPI handle of the lid, that later may be passed to
acpi_lid_evaluate_state(), in a static variable instead of saving a
pointer to the ACPI device object containing that handle.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/4747530.LvFx2qVVIh@rafael.j.wysocki
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
