diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-13 18:10:55 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-10-19 16:55:43 +0200 |
commit | 5558871360f3fed77b432e9257f3bf90fca7580e (patch) | |
tree | 869b0c693b5740dcb6987a52dc7d3e68069b57a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 603a7dd08f881e1b5c754429dac5af6c29992528 (diff) |
surface: surface3-wmi: Use ACPI_COMPANION() directly
The ACPI_HANDLE() macro is a wrapper arond the ACPI_COMPANION()
macro and the ACPI handle produced by the former comes from the
ACPI device object produced by the latter, so it is way more
straightforward to evaluate the latter directly instead of passing
the handle produced by the former to acpi_bus_get_device().
Modify s3_wmi_check_platform_device() accordingly (no intentional
functional impact).
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/12896717.uLZWGnKmhe@kreacher
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions