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)
commit63e4f052226dd9079409c22b55f38b1e50c5fb95
tree17709f82859e371799a621383edb53fc8f156553
parentf28607f3bf07a0fce3a34e76554947d2b1eab13d
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