iio:ad5449: 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 10:58:19 +0000 (11:58 +0100)
commit66a1891642cf71877ddb89945882281f5ef28672
treebb17b429f7b1993ab5b856e4074d258fdb579607
parent476b9547e872c709c07a45bd47301ce7236f3dc1
iio:ad5449: 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/dac/ad5449.c