diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-20 06:27:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-20 06:27:18 -0400 |
commit | 4958134df54c2c84e9c22ea042761d439164d26e (patch) | |
tree | 503177afab11f7d25b12a84ce25b481d305c51ba /drivers/platform/x86/intel-hid.c | |
parent | c4f528795d1add8b63652673f7262729f679c6c1 (diff) | |
parent | c698ca5278934c0ae32297a8725ced2e27585d7f (diff) |
Merge 4.16-rc6 into tty-next
We want the serial/tty fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/intel-hid.c')
-rw-r--r-- | drivers/platform/x86/intel-hid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c index d1a01311c1a2..5e3df194723e 100644 --- a/drivers/platform/x86/intel-hid.c +++ b/drivers/platform/x86/intel-hid.c | |||
@@ -376,6 +376,7 @@ static int intel_hid_remove(struct platform_device *device) | |||
376 | { | 376 | { |
377 | acpi_handle handle = ACPI_HANDLE(&device->dev); | 377 | acpi_handle handle = ACPI_HANDLE(&device->dev); |
378 | 378 | ||
379 | device_init_wakeup(&device->dev, false); | ||
379 | acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler); | 380 | acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler); |
380 | intel_hid_set_enable(&device->dev, false); | 381 | intel_hid_set_enable(&device->dev, false); |
381 | intel_button_array_enable(&device->dev, false); | 382 | intel_button_array_enable(&device->dev, false); |