ACPI: LPSS: Use ACPI_COMPANION() directly
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 10 Oct 2021 17:23:01 +0000 (19:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Oct 2021 17:59:04 +0000 (19:59 +0200)
commit50861d439b9386d9f2cfafc12f2c0d0d14569df9
tree00af8a30426530969642a79849757c0ac082a5ff
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc
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>
drivers/acpi/acpi_lpss.c