diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-13 18:06:40 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-26 15:49:47 +0200 |
commit | f0b2731ba73ba795a45c8f3fd458da2e0117fd60 (patch) | |
tree | 07059246f2f8bdc63b844e3bcd24225bc1d8c788 /drivers/perf | |
parent | nouveau: ACPI: Use the ACPI_COMPANION() macro directly (diff) | |
download | linux-f0b2731ba73ba795a45c8f3fd458da2e0117fd60.tar.xz linux-f0b2731ba73ba795a45c8f3fd458da2e0117fd60.zip |
gpio-amdpt: ACPI: Use the ACPI_COMPANION() macro 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 pt_gpio_probe() accordingly (no intentional functional impact).
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions