iio:adis16080: 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 10:58:54 +0000 (11:58 +0100)
commitaf3d5cad0a6699afcae84b578838e698f56028bb
treef2c3ad5dec0fcbb1057d1d18976ae18d990cc0a8
parent66a1891642cf71877ddb89945882281f5ef28672
iio:adis16080: 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/iio/gyro/adis16080.c