iio: gyro: adis16130: remove mlock usage
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 17 Sep 2019 16:10:23 +0000 (19:10 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2019 12:45:03 +0000 (13:45 +0100)
commitea14163d29130649e43bfcad12ef6ef9a956fbe3
tree50963f4d11885a566f2be1ad6c9923ac4840545a
parent8033997a8dafbad1aae437bd25f0d7307fb084be
iio: gyro: adis16130: remove mlock usage

The use of indio_dev's mlock is discouraged. The driver already defines
it's own `bus_lock` in `adis16130_spi_read()`, so using the mlock is
redundant.

The parts supported by this chip are obsoleted anyway, so for now we just
remove mlock as part of a general cleanup, until the driver gets removed.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/adis16130.c