summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/kxsd9.c
Commit message (Collapse)AuthorAgeFilesLines
* iio:accel:kxsd9 fix missing mutex unlockFrank Zago2013-11-171-3/+4
| | | | | | | | | This will leave a lock held after reading from the device, preventing any further reads. Signed-off-by: Frank Zago <frank@zago.net> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: accel: kxsd9: Remove redundant variableSachin Kamat2013-10-241-6/+1
| | | | | | | Return directly thereby eliminating an intermediate variable. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: accel: kxsd9: Use devm_iio_device_allocSachin Kamat2013-08-031-12/+5
| | | | | | | Using devm_iio_device_alloc makes code simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:accel:kxsd9 move to info_mask_(shared_by_type/separate)Jonathan Cameron2013-03-171-3/+3
| | | | | | The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: Use spi_sync_transfer()Lars-Peter Clausen2013-02-091-5/+1
| | | | | | | 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>
* iio:accel:kxsd9 move out of stagingJonathan Cameron2013-01-261-0/+291
This is a very simple driver giving basic access to this part over an spi bus. Signed-off-by: Jonathan Cameron <jic23@kernel.org>
OpenPOWER on IntegriCloud