diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-06-13 00:36:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-07 23:42:49 +0200 |
commit | 65d5e743f7744dca48daa97659f31fcde4c4d404 (patch) | |
tree | f9853defa3469734461bd6fcf4e239e17361f616 /drivers/pnp | |
parent | 3a9bec5e99a6a6c467dcf0a985968e5adc30673e (diff) |
PM: describe kernel policy regarding wakeup defaults (v. 2)
This patch (as1381b) updates a comment describing the kernel's policy
toward enabling wakeup by default.
It also makes device_set_wakeup_capable() actually do something when
CONFIG_PM isn't enabled. It's not clear this is necessary; however if
it isn't then device_init_wakeup() and device_can_wakeup() should also
be do-nothing routines. Furthermore, I don't expect this change to
have any noticeable effect -- but if it does then clearly the old
behavior was wrong.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions