aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_processor.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2021-04-07 14:33:38 +0000
committerRafael J. Wysocki <[email protected]>2021-04-08 17:55:40 +0000
commitc830dbcfccbf70be94f15dbb4781be5ffb210d98 (patch)
treedf72ae501b1ab420c78c548076988d8e36c53874 /drivers/acpi/acpi_processor.c
parentACPI: scan: Drop sta argument from acpi_init_device_object() (diff)
downloadkernel-c830dbcfccbf70be94f15dbb4781be5ffb210d98.tar.gz
kernel-c830dbcfccbf70be94f15dbb4781be5ffb210d98.zip
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
0 files changed, 0 insertions, 0 deletions