aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/adis16130.c
Commit message (Collapse)AuthorAge
* iio: gyro: adis16130: Use devm_iio_device_registerSachin Kamat2013-11-24
| | | | | | | devm_iio_device_register simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:adis16130: Use spi_sync_transfer()Lars-Peter Clausen2013-10-05
| | | | | | | | 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>
* iio: gyro: adis16130: Remove redundant breakSachin Kamat2013-09-14
| | | | | | | 'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: gyro: adis16130: Use devm_iio_device_allocSachin Kamat2013-08-17
| | | | | | | | Using devm_iio_device_alloc makes code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* staging:iio:adis16130: Move out of stagingLars-Peter Clausen2013-06-11
The adis16130 driver is fairly simple and it a good shape now, so move it out of staging. Remove an outdated FIXME along the way. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>