ACPI: scan: Call acpi_get_object_info() from acpi_add_single_object()
authorHans de Goede <hdegoede@redhat.com>
Sat, 21 Nov 2020 20:30:35 +0000 (21:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 2 Dec 2020 13:06:49 +0000 (14:06 +0100)
commit6091b2631032adafa1c8c0bd181aa5d153185c6f
tree9c809551bbb2e5ede300d7237d476d7593d455a7
parent637b9f1a1194cc671bac0039824cc472a2960b2f
ACPI: scan: Call acpi_get_object_info() from acpi_add_single_object()

Call acpi_get_object_info() from acpi_add_single_object() instead of
calling it from acpi_set_pnp_ids() and pass the result down to the
latter so as to allow acpi_add_single_object() to use that data for
other purposes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[ rjw: Changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/internal.h
drivers/acpi/power.c
drivers/acpi/scan.c