staging:iio: Use spi_sync_transfer()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 9 Jan 2013 17:31:00 +0000 (17:31 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 9 Feb 2013 11:10:43 +0000 (11:10 +0000)
commitad6c46b0c712e0d8fd8a80ee372b30f14a781888
tree08a9dda620d1cc0280400b15ab518d30d374d68a
parent14543a00fc3ce6dac9f297535c502a0085a50467
staging:iio: Use spi_sync_transfer()

Use the new spi_sync_transfer() helper function instead of open-coding it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
13 files changed:
drivers/staging/iio/accel/lis3l02dq_core.c
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/accel/sca3000_ring.c
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/frequency/ad5930.c
drivers/staging/iio/frequency/ad9850.c
drivers/staging/iio/frequency/ad9852.c
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/iio/meter/ade7854-spi.c
drivers/staging/iio/resolver/ad2s1210.c