staging:iio:ad9951: 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:12 +0000 (12:01 +0100)
commit3658a71b10c8471ac217983ddf2a2bdde71008af
treee915006865e57fe7855ba6156ef66bf385c4a7ad
parent630e7377b7d26e0ab530482be594aff88cbb060c
staging:iio:ad9951: 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/ad9951.c