staging: iio: accel: adis16201: remove iio_dev mlock
authorAishwarya Pant <aishpant@gmail.com>
Fri, 17 Mar 2017 21:43:56 +0000 (03:13 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Mar 2017 10:18:34 +0000 (10:18 +0000)
commit099c4cef24a6cb77e2c03e9e66199d460ed4a5a1
tree42af5f2498d5c1cf7becd7b8a91c872eff350ece
parent2e2c8d227ac9bc31a7df7401a6508dd73c25a2b6
staging: iio: accel: adis16201: remove iio_dev mlock

In the driver adis16201 read raw does not require an iio_dev->mlock for
reads. It can run concurrently as adis_read_reg_16() is protected by a
transaction lock.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16201.c