platform/x86: intel-hid: Reset wakeup capable flag on removal
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Feb 2018 11:10:59 +0000 (12:10 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Feb 2018 12:26:27 +0000 (14:26 +0200)
commit356b57752c91cffb35356abe6647065bf0edcad1
treef594c23bc73ca0e9553818436453283eb2148eff
parent250b044e1a584887c06e6ba79446e523ffa3cc9c
platform/x86: intel-hid: Reset wakeup capable flag on removal

The intel-hid device will not be able to wake up the system any more
after removing the notify handler provided by its driver, so make
its sysfs attributes reflect that.

Fixes: ef884112e55c (platform: x86: intel-hid: Wake up the system from suspend-to-idle)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-hid.c