diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-07 16:30:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-08 19:55:40 +0200 |
commit | 02056a4f9209b7e9f65fab193069cbff36ec92b5 (patch) | |
tree | 34c26481a7149c77ea9eec8ca68b971b63f0e6aa /ipc | |
parent | e6c1067dc1becf6c00408f59e0efa28b8d206371 (diff) | |
download | linux-next-02056a4f9209b7e9f65fab193069cbff36ec92b5.tar.gz |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions