diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-09-25 09:27:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-25 18:52:19 +0200 |
commit | b9f6940a437dcb8481df16b175359e126cf7bc33 (patch) | |
tree | 2a9b0e36fb6e83a5ddee7075eb849c5d04be04af /drivers/spi/spi-pxa2xx.h | |
parent | spi: pxa2xx: Set the max_speed_hz of the master (diff) | |
download | linux-b9f6940a437dcb8481df16b175359e126cf7bc33.tar.xz linux-b9f6940a437dcb8481df16b175359e126cf7bc33.zip |
spi: pxa2xx: 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
0 files changed, 0 insertions, 0 deletions