Skip to content
Commit aff1e0ce authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Vinod Koul
Browse files

dmaengine: acpi: Use ACPI_COMPANION() instead of acpi_bus_get_device()



Get pointer to the struct acpi_device by using ACPI_COMPANION() macro. This
is more efficient than using ACPI_HANDLE() and acpi_bus_get_device().

Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent ddfe4d0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment