Rafael J. Wysocki c830dbcfcc ACPI: scan: Call acpi_get_object_info() from acpi_set_pnp_ids()
Notice that it is not necessary to call acpi_get_object_info() from
acpi_add_single_object() in order to pass the pointer returned by it
to acpi_init_device_object() and from there to acpi_set_pnp_ids().

It is more straightforward to call acpi_get_object_info() from
acpi_set_pnp_ids() and avoid unnecessary pointer passing, so change
the code accordingly.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2021-04-08 19:55:40 +02:00
..
2020-11-10 18:52:51 +01:00
2020-10-14 11:42:04 -07:00
2021-02-04 19:45:45 +01:00
2019-06-23 09:23:33 +02:00
2020-10-15 10:46:16 -07:00
2021-01-22 16:17:19 +01:00
2021-02-20 21:50:59 -08:00
2021-01-22 16:17:19 +01:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:25:20 +01:00
2021-02-25 18:57:40 +01:00
2021-02-25 18:57:40 +01:00
2019-11-13 11:12:08 +01:00
2021-02-10 19:09:43 +01:00
2020-11-09 19:08:06 +01:00
2020-12-15 16:39:06 -08:00
2020-11-09 19:08:06 +01:00
2020-11-09 19:08:06 +01:00
2020-07-09 14:09:28 +02:00
2021-02-21 14:10:36 -08:00
2020-11-09 19:08:06 +01:00