WSL2-Linux-Kernel/drivers/pnp/pnpacpi
Rafael J. Wysocki 2eb1eb02dd PNP / ACPI: Use ACPI_COMPANION_SET() during initialization
pnpacpi_add_device() calls acpi_bind_one() on an already registered
device, which is a mistake, but it can initialize the ACPI companion
field of the struct device to be registered using ACPI_COMPANION_SET()
instead, so make it do that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2015-03-16 15:19:07 +01:00
..
Kconfig ACPI: always enable CONFIG_PNPACPI on CONFIG_ACPI kernels 2007-02-15 22:38:04 -05:00
Makefile PNP: Compile all pnp built-in stuff in one module namespace 2010-10-27 02:23:44 -04:00
core.c PNP / ACPI: Use ACPI_COMPANION_SET() during initialization 2015-03-16 15:19:07 +01:00
pnpacpi.h ACPI: Clean up inclusions of ACPI header files 2013-12-07 01:03:14 +01:00
rsparser.c ACPI: Return translation offset when parsing ACPI address space resources 2015-02-03 22:27:21 +01:00