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>
Wed, 28 Feb 2018 12:26:27 +0000 (14:26 +0200)
commit250b044e1a584887c06e6ba79446e523ffa3cc9c
tree02d9cf87d447f7e5b90e5f0cb0cb8f662f1909c0
parent027d50ccd6a01c6ca8969b49e69f26d64a8f94b2
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