iio: dac: ad5380: Replace indio_dev->mlock with own device lock
authorSergiu Cuciurean <sergiu.cuciurean@analog.com>
Thu, 14 May 2020 09:13:11 +0000 (12:13 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 May 2020 15:26:05 +0000 (16:26 +0100)
commitfa444a186f63f52055a6ad7daafb8490a3d925f0
tree29604bf9dd173e702736c0c9e93ad123fbfea295
parentfdd41663e660bd9055448376636e7babdcf19081
iio: dac: ad5380: Replace indio_dev->mlock with own device lock

As part of the general cleanup of indio_dev->mlock, this change replaces
it with a local lock on the device's state structure.

Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ad5380.c