]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Reduce the usage of struct acpi_bus_ops
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Dec 2012 23:36:42 +0000 (00:36 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 3 Jan 2013 12:09:37 +0000 (13:09 +0100)
commitf7e71ad9330f1da44e81f06c0f20b6bb4f66e385
tree82203954bc46948c502ef9e9d5d1d88efd5ca807
parent833506f08f180dd6c31634924191502ea2eeeb32
ACPI: Reduce the usage of struct acpi_bus_ops

Objects of type struct acpi_bus_ops are currently used to pass
information between different parts of the ACPI namespace scanning
code, sometimes in quite convoluted ways.  It turns out that that
is not necessary in some cases, so simplify the code by reducing
the utilization of struct acpi_bus_ops objects where clearly
possible.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Toshi Kani <toshi.kani@hp.com>
drivers/acpi/scan.c