commit | 02056a4f9209b7e9f65fab193069cbff36ec92b5 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Apr 07 16:30:56 2021 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Apr 08 19:55:40 2021 +0200 |
tree | 34c26481a7149c77ea9eec8ca68b971b63f0e6aa | |
parent | e6c1067dc1becf6c00408f59e0efa28b8d206371 [diff] |
ACPI: scan: Rearrange checks in acpi_bus_check_add() Rearrange the checks in acpi_bus_check_add() to avoid checking the "type" twice and take "check_dep" into account only for ACPI_TYPE_DEVICE objects. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>