OSDN Git Service

iio:adxrs450: 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:59:38 +0000 (11:59 +0100)
commit35734fbdb54bbb5c0c3f47fd7ff78c61380c7eaa
treeda075ab2d11bdccaa6b8d94c4a392b2c36931a7d
parentaf3d5cad0a6699afcae84b578838e698f56028bb
iio:adxrs450: 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/adxrs450.c