commit | 723151a2401afdcee4f53ae92775902b58ee0469 | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Mon May 25 16:10:34 2020 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jun 14 11:49:47 2020 +0100 |
tree | 5aa955a3ed37a7fb10939d4218f719ab43b27b2e | |
parent | 812a46b7ff8f77f44ad3d9867b3525b4e0804f70 [diff] |
iio: dac: ad5592r: remove usage of iio_priv_to_dev() helper 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 <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>