diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2022-10-04 16:48:57 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 22:43:58 +0300 |
| commit | 98c4fb93d1d448db191eea795a40072dc61da07d (patch) | |
| tree | 7605886d6640e9b1ef5ae1a83e6baec984205cba /include | |
| parent | 7dde7ec2a84d598eb755883540d48a5ee73948ec (diff) | |
| download | linux-98c4fb93d1d448db191eea795a40072dc61da07d.tar.xz | |
iio: adc: lpc32xx_adc: do not use internal iio_dev lock
The iio_device lock is only meant for internal use. Hence define a
device local lock to protect against concurrent accesses.
While at it, properly include "mutex.h" for mutex related APIs.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221004134909.1692021-5-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
