ACPI / bus: Correct the comments about acpi_subsystem_init()
authorBaoquan He <bhe@redhat.com>
Mon, 4 Jul 2016 03:13:59 +0000 (11:13 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Jul 2016 00:14:08 +0000 (02:14 +0200)
commit3af03f77cb6638c8384c712f8fc7febe07ae2424
treed362c50ee579efa8d4492847670893aa56d65d40
parentf26f5c8b8b182c38074d942e9124679238aa04ef
ACPI / bus: Correct the comments about acpi_subsystem_init()

In acpi_subsystem_init(), function acpi_enable_subsystem() is
called to do the real job. However with different flags passed to
acpi_enable_subsystem(), different code is executed.

In acpi_subsystem_init(), with "~ACPI_NO_ACPI_ENABLE" passed in, it
will only switch over the platform to the ACPI mode. The remaining
part of acpi_enable_subsystem() is done when acpi_bus_init() is
called.

So the comments above acpi_subsystem_init() is not exact, change it
here.

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