summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mux.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-10 19:23:01 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-13 19:59:04 +0200
commit50861d439b9386d9f2cfafc12f2c0d0d14569df9 (patch)
tree00af8a30426530969642a79849757c0ac082a5ff /drivers/spi/spi-mux.c
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
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/spi/spi-mux.c')
0 files changed, 0 insertions, 0 deletions