Rafael J. Wysocki 6831c6edc7 PM: Drop pm_flags that is not necessary
The variable pm_flags is used to prevent APM from being enabled
along with ACPI, which would lead to problems.  However, acpi_init()
is always called before apm_init() and after acpi_init() has
returned, it is known whether or not ACPI will be used.  Namely, if
acpi_disabled is not set after acpi_init() has returned, this means
that ACPI is enabled.  Thus, it is sufficient to check acpi_disabled
in apm_init() to prevent APM from being enabled in parallel with
ACPI.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Len Brown <len.brown@intel.com>
2011-03-15 00:43:16 +01:00
..
2011-03-03 11:53:25 -05:00
2011-01-13 08:03:09 -08:00
2011-03-13 15:35:59 -07:00
2011-01-20 21:37:29 +10:30
2011-03-02 10:57:50 +01:00
2011-03-15 00:43:15 +01:00
2011-03-15 00:43:15 +01:00
2011-01-12 04:59:44 -05:00
2011-03-15 00:43:15 +01:00
2011-02-28 12:06:20 -08:00
2011-03-15 00:43:15 +01:00
2011-02-01 16:48:46 +02:00