staging:iio:ad9910: 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:10 +0000 (12:01 +0100)
commit630e7377b7d26e0ab530482be594aff88cbb060c
tree6071c98346d74fc02a8e692fd2537de256868055
parent9aa698a0b316aa15f18f0cc99d7ba371bbba97d2
staging:iio:ad9910: 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/frequency/ad9910.c