commit | 2bbf7c6b705ca30c08453d198adaf43a105ce37c | [log] [tgz] |
---|---|---|
author | Sergiu Cuciurean <sergiu.cuciurean@analog.com> | Thu May 14 11:39:19 2020 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat May 16 16:11:14 2020 +0100 |
tree | 932a3a372c61b096402e6196003cbd8761d815bc | |
parent | 6198bdb48922c03348724d1a4d528d34c548abaa [diff] |
iio: dac: ad5360: 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. This also changes some internal functions to pass the pointer to the state-struct vs a ref to indio_dev just to access the state-struct again. Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>