platform/x86: intel-vbtn: Reset wakeup capable flag on removal
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Feb 2018 11:09:56 +0000 (12:09 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Mar 2018 11:08:25 +0000 (13:08 +0200)
commitb758dbd57650b4157da98b2c734974b409849625
tree0543f7c0fdd17470a372492f4c35eb57f7fa30d7
parentde9647efeaa9f4e8b08c002e09757fd9c55ff901
platform/x86: intel-vbtn: Reset wakeup capable flag on removal

The intel-vbtn 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: 91f9e850d465 (platform: x86: intel-vbtn: 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-vbtn.c