Rafael J. Wysocki 78d090b0be PCI / PM: Remove unnecessary error variable from acpi_dev_run_wake()
The result returned by acpi_dev_run_wake() is always either -EINVAL
or -ENODEV, while obviously it should return 0 on success.  The
problem is that the leftover error variable, that's not really used
in the function, is initialized with -ENODEV and then returned
without modification.

To fix this issue remove the error variable from acpi_dev_run_wake()
and make the function return 0 on success as appropriate.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-10-14 09:05:32 -07:00
..
2011-05-10 15:43:36 -07:00
2011-03-29 14:48:19 +02:00
2009-02-13 12:01:56 -08:00
2010-07-30 09:47:22 -07:00
2010-08-31 15:28:00 -07:00
2009-07-12 12:22:34 -07:00
2011-07-26 16:49:47 -07:00