commit | a105acd7e38436ed6bc0714f3120aaaad56cbe3d | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Nov 23 19:40:50 2021 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Dec 01 20:17:32 2021 +0100 |
tree | 40a08fbc15eced33697ebbe8256e6d5bdaa198f9 | |
parent | 388fb77dcf9793b9882e0f0651019f416ef50900 [diff] |
ACPI: EC: Simplify locking in acpi_ec_event_handler() Because acpi_ec_event_handler() is a work function, it always runs in process context with interrupts enabled, so it can use spin_lock_irq() and spin_unlock_irq() for the locking. Make it do so and adjust white space around those calls. No expected functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>