]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:adis16220: Use spi_sync_transfer()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 5 Oct 2013 07:45:00 +0000 (08:45 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Oct 2013 11:01:06 +0000 (12:01 +0100)
commit123d062455036a4ded6c1902b5fcf025ef0b5d3b
tree17709f82859e371799a621383edb53fc8f156553
parentda9beb9612487cf81630e986a6fc29be5edfa68b
staging:iio:adis16220: Use spi_sync_transfer()

Use the spi_sync_transfer() helper function instead of open-coding it. Makes
the code a bit shorter.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16220_core.c