diff options
author | Jarkko Nikula <[email protected]> | 2015-09-04 16:12:30 +0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2015-09-30 12:21:27 +0530 |
commit | aff1e0cee36ab679552846a18d15dcb6d2e3fc4c (patch) | |
tree | 701c6f1980561c8cb7e701f43f64ecc07bb879db /lib/mpi/mpiutil.c | |
parent | ddfe4d0cce7828d79f3e3762c664342658c3f254 (diff) |
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: Jarkko Nikula <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions