ACPI / Button: Avoid disabling wakeup unnecessarily on remove
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 8 Feb 2011 22:41:13 +0000 (23:41 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Feb 2011 18:58:53 +0000 (19:58 +0100)
If a button device had already been enabled to wake up the system
from sleep states before the button driver saw it, the driver
shouldn't disable the device's wakeup capability when being detached
from the device.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

No differences found