diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-01-06 22:41:27 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 10:06:01 (GMT) |
commit | d57d09a480e1db38eeee7629c81289b00f338a15 (patch) | |
tree | f27bf02ff971673f39b0b7d26dc3f90be0a7138b /lib/kobject.c | |
parent | 86e4e20e8a5301ff7104a4f40f35fd5bee408186 (diff) | |
download | linux-d57d09a480e1db38eeee7629c81289b00f338a15.tar.xz |
ACPI: Drop device flag wake_capable
The wake_capable ACPI device flag is not necessary, because it is
only used in scan.c for recording the information that _PRW is
present for the given device. That information is only used by
acpi_add_single_object() to decide whether or not to call
acpi_bus_get_wakeup_device_flags(), so the flag may be dropped
if the _PRW check is moved to acpi_bus_get_wakeup_device_flags().
Moreover, acpi_bus_get_wakeup_device_flags() always returns 0,
so it really should be void.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions