Re: [PATCH] iio: dac: ad5592r: remove usage of iio_priv_to_dev() helper

2020-05-31 Thread Jonathan Cameron
On Mon, 25 May 2020 16:10:34 +0300 Alexandru Ardelean wrote: > This was partially removed when the mlock cleanup was done. Only one more > call is left in the ad5592r_alloc_channels() function. > This one is simple. We just need to pass the iio_dev object and get the > state via iio_priv(). > >

[PATCH] iio: dac: ad5592r: remove usage of iio_priv_to_dev() helper

2020-05-25 Thread Alexandru Ardelean
This was partially removed when the mlock cleanup was done. Only one more call is left in the ad5592r_alloc_channels() function. This one is simple. We just need to pass the iio_dev object and get the state via iio_priv(). Signed-off-by: Alexandru Ardelean --- drivers/iio/dac/ad5592r-base.c | 6