ACPI: skip DMI power state check when ACPI disabled
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 24 Mar 2009 22:49:38 +0000 (16:49 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:49:38 +0000 (12:49 -0400)
commit81d0273df20edff275e2eefe6b50436af3bdf9e8
tree2f0b38dca7d50027639c8675bba7187cb490e452
parente60cc7a6f02598fc23c68a656fe9c263d6531ca0
ACPI: skip DMI power state check when ACPI disabled

This patch makes acpi_init() exit early when ACPI is disabled.
This skips a DMI check that affects ACPI power management.   The
DMI check prints a notice that is misleading when ACPI is disabled.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bus.c