Re: [PATCH] iio: dac: ad5380: Replace indio_dev->mlock with own device lock

2020-05-16 Thread Jonathan Cameron
On Thu, 14 May 2020 12:13:11 +0300 Sergiu Cuciurean wrote: > 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 Applied, Thanks, Jonathan > --- > drivers/iio/dac/ad5380.c | 8 +

[PATCH] iio: dac: ad5380: Replace indio_dev->mlock with own device lock

2020-05-14 Thread Sergiu Cuciurean
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 --- drivers/iio/dac/ad5380.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/iio/dac/ad5380.c b/drive