summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-13 18:10:55 +0200
committerHans de Goede <hdegoede@redhat.com>2021-10-19 16:55:43 +0200
commit5558871360f3fed77b432e9257f3bf90fca7580e (patch)
tree869b0c693b5740dcb6987a52dc7d3e68069b57a0 /include/linux/platform_data
parent603a7dd08f881e1b5c754429dac5af6c29992528 (diff)
downloadcachepc-linux-5558871360f3fed77b432e9257f3bf90fca7580e.tar.gz
cachepc-linux-5558871360f3fed77b432e9257f3bf90fca7580e.zip
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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions