platform/x86: thinkpad_acpi: Provide hotkey_poll_stop_sync() dummy
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Apr 2024 12:28:12 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:40:26 +0000 (11:40 +0200)
commite7e630e0b516a03b52e662625858709c93540ba2
tree9d589a23e7f774ff000d82147a84fef8875b2b0f
parente397c564298c2e91aea3887990da8e8eddb65277
platform/x86: thinkpad_acpi: Provide hotkey_poll_stop_sync() dummy

Provide a hotkey_poll_stop_sync() dummy implementation when
CONFIG_THINKPAD_ACPI_HOTKEY_POLL, so that the #ifdef-ery around
hotkey_poll_stop_sync() can be removed from hotkey_exit().

Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240424122834.19801-3-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c