diff options
author | 2015-09-04 16:12:30 +0300 | |
---|---|---|
committer | 2015-09-30 12:21:27 +0530 | |
commit | aff1e0cee36ab679552846a18d15dcb6d2e3fc4c (patch) | |
tree | 701c6f1980561c8cb7e701f43f64ecc07bb879db /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dmaengine: edma: remove redundant conditions (diff) | |
download | linux-dev-aff1e0cee36ab679552846a18d15dcb6d2e3fc4c.tar.xz linux-dev-aff1e0cee36ab679552846a18d15dcb6d2e3fc4c.zip |
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 <jarkko.nikula@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions