iio:adis16130: 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:00:26 +0000 (12:00 +0100)
commitf28607f3bf07a0fce3a34e76554947d2b1eab13d
tree8791ff5f0eafd7324d67b6307f91cff156d6ad85
parent35734fbdb54bbb5c0c3f47fd7ff78c61380c7eaa
iio:adis16130: 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/adis16130.c