]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adis16080: 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:54 +0000 (11:58 +0100)
commit6e836296a8b91e58998bb2965ed1a520777633b2
treef2c3ad5dec0fcbb1057d1d18976ae18d990cc0a8
parent0e5653b4a1654d3720e916f1e5b7929816df9c0d
iio:adis16080: 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/gyro/adis16080.c