iio:common: Use spi_sync_transfer() in STMicroelectronics common library
authorDenis Ciocca <denis.ciocca@gmail.com>
Sat, 9 Feb 2013 16:08:00 +0000 (16:08 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Mar 2013 10:18:10 +0000 (10:18 +0000)
commit43bb786ad2886ea38364e57924c19e9d29f37201
tree8d5fd1df4713eeff6823e5f9297cf49142bc7806
parent0eac259db28fde88767cab5fd0380f4024e08c02
iio:common: Use spi_sync_transfer() in STMicroelectronics common library

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

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_spi.c