diff options
| author | Sergiu Cuciurean <sergiu.cuciurean@analog.com> | 2020-09-28 16:13:31 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-25 19:13:49 +0000 |
| commit | 08dfc6f8aa5d443c81347f6ea876d833f5aedcf6 (patch) | |
| tree | b5fd46751452f06045a15ac895c5e78c87a7e7d8 /include/linux/socket.h | |
| parent | 3a27d11fbf58e7b29930376b0b869882c780dd5b (diff) | |
iio: adc: npcm_adc: 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 is part of a bigger cleanup.
Link: https://lore.kernel.org/linux-iio/CA+U=Dsoo6YABe5ODLp+eFNPGFDjk5ZeQEceGkqjxXcVEhLWubw@mail.gmail.com/
Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com>
Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Link: https://lore.kernel.org/r/20200928131333.36646-3-mircea.caprioru@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions
