ACPI: EC: Fold acpi_ec_check_event() into acpi_ec_event_handler()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Nov 2021 18:39:05 +0000 (19:39 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Dec 2021 19:17:32 +0000 (20:17 +0100)
commit98d364509d77e2d441ef6d8bdf13e1a4258eac6c
tree9835e1b23de1e1cb61940ec9cd9a08f8c98a3e80
parent1f2350443dd21028d3de6907f98ff1be75a2c9bc
ACPI: EC: Fold acpi_ec_check_event() into acpi_ec_event_handler()

Because acpi_ec_event_handler() is the only caller of
acpi_ec_check_event() and the separation of these two functions
makes it harder to follow the code flow, fold the latter into the
former (and simplify that code while at it).

No expected functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c