iio: dac: vf610_dac: Replace indio_dev->mlock with own device lock
authorSergiu Cuciurean <sergiu.cuciurean@analog.com>
Thu, 14 May 2020 08:58:15 +0000 (11:58 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 May 2020 15:36:22 +0000 (16:36 +0100)
commit3adb82ebd9bb1c6c7985eb6fdaeede35c619b269
treeb28191ddfe7754fef61e8db51aef736849100732
parent0b2884ef7fcad881556b79828a96f359c7f1fab6
iio: dac: vf610_dac: 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/vf610_dac.c