staging:iio:ad9852: 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:08 +0000 (12:01 +0100)
commit9aa698a0b316aa15f18f0cc99d7ba371bbba97d2
treef724831e5c1cf484a1c75c6e759df5dd968eec58
parent63e4f052226dd9079409c22b55f38b1e50c5fb95
staging:iio:ad9852: 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/ad9852.c