summaryrefslogtreecommitdiff
path: root/drivers/acpi/glue.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-10 20:23:01 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-13 20:59:04 +0300
commit50861d439b9386d9f2cfafc12f2c0d0d14569df9 (patch)
tree00af8a30426530969642a79849757c0ac082a5ff /drivers/acpi/glue.c
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
downloadlinux-50861d439b9386d9f2cfafc12f2c0d0d14569df9.tar.xz
ACPI: LPSS: Use ACPI_COMPANION() directly
The ACPI_HANDLE() macro returns the ACPI handle of the ACPI device object returned by the ACPI_COMPANION() macro, so it is more straightforward to call the latter directly instead of passing the handle produced by the former to acpi_bus_get_device(). Modify the code accordingly (no intentional functional impact). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/acpi/glue.c')
0 files changed, 0 insertions, 0 deletions