diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-07 16:30:01 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-08 19:55:40 +0200 |
| commit | e6c1067dc1becf6c00408f59e0efa28b8d206371 (patch) | |
| tree | 917518ea4f552e9319c860ddd77cd4c7111a94b4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Linux 5.12-rc6 (diff) | |
| download | linux-e6c1067dc1becf6c00408f59e0efa28b8d206371.tar.gz linux-e6c1067dc1becf6c00408f59e0efa28b8d206371.zip | |
ACPI: scan: Fold acpi_bus_type_and_status() into its caller
There is only one caller of acpi_bus_type_and_status() which is
acpi_bus_check_add(), so fold the former into the latter and use
the observation that the initial status of the device is
ACPI_STA_DEFAULT in all cases except for ACPI_BUS_TYPE_PROCESSOR
to simplify the code.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
