diff options
author | 2021-04-07 16:32:43 +0200 | |
---|---|---|
committer | 2021-04-08 19:55:40 +0200 | |
commit | f5d9ab1d803456f5215f853e9286659933b59afe (patch) | |
tree | 910d7eebac17a7d08b6e7b9dab340e1f3b5d92fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: scan: Drop sta argument from acpi_add_single_object() (diff) | |
download | wireguard-linux-f5d9ab1d803456f5215f853e9286659933b59afe.tar.xz wireguard-linux-f5d9ab1d803456f5215f853e9286659933b59afe.zip |
ACPI: scan: Drop sta argument from acpi_init_device_object()
Use the observation that the initial status check for
ACPI_BUS_TYPE_PROCESSOR objects can be carried out in the same way
as for ACPI_BUS_TYPE_DEVICE objects and it is not necessary to fail
acpi_add_single_object() if acpi_bus_get_status_handle() returns an
error for a processor (its status can be set to 0 instead) to
simplify acpi_add_single_object().
Accordingly, drop the "sta" argument from acpi_init_device_object()
as it can always set the initial status to ACPI_STA_DEFAULT and let
its caller correct that later on.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions