summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-amdpt.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-13 18:08:06 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-26 15:48:49 +0200
commitae364fd917a23c926367a84a0d5aca7f0e6ab3dd (patch)
tree111146e670b12e3b784259c9679a570e1da41959 /drivers/gpio/gpio-amdpt.c
parentLinux 5.15-rc7 (diff)
downloadlinux-ae364fd917a23c926367a84a0d5aca7f0e6ab3dd.tar.xz
linux-ae364fd917a23c926367a84a0d5aca7f0e6ab3dd.zip
nouveau: 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 nouveau_acpi_edid() accordingly (no intentional functional impact). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpio/gpio-amdpt.c')
0 files changed, 0 insertions, 0 deletions