ACPI / bus: Move ACPI bus type registration
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jul 2015 20:54:09 +0000 (22:54 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jul 2015 20:54:09 +0000 (22:54 +0200)
commit1dcc3d3362b0c97e48290f7786be85b4cec2a147
treedc08551dbbd75579eda0807529bbbb829b193155
parent5894b0c46e49b5ecc25f22b2d1b8232aab00ce97
ACPI / bus: Move ACPI bus type registration

Move the registration of the ACPI bus type to acpi_bus_init() and
avoid using ACPI going forward if it fails (too many things depend on
the presence of the ACPI bus type).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
drivers/acpi/scan.c