mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
iio: core: Make mlock internal to the iio core
"mlock" should ideally only be used by the iio core. The mlock implementation may change in the future which means that no driver should be explicitly using mlock. Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
72ad02b15d
commit
143324fd89
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ struct iio_buffer_setup_ops {
|
||||||
* @buffer: [DRIVER] any buffer present
|
* @buffer: [DRIVER] any buffer present
|
||||||
* @buffer_list: [INTERN] list of all buffers currently attached
|
* @buffer_list: [INTERN] list of all buffers currently attached
|
||||||
* @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux
|
* @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux
|
||||||
* @mlock: [DRIVER] lock used to prevent simultaneous device state
|
* @mlock: [INTERN] lock used to prevent simultaneous device state
|
||||||
* changes
|
* changes
|
||||||
* @available_scan_masks: [DRIVER] optional array of allowed bitmasks
|
* @available_scan_masks: [DRIVER] optional array of allowed bitmasks
|
||||||
* @masklength: [INTERN] the length of the mask established from
|
* @masklength: [INTERN] the length of the mask established from
|
||||||
|
|
Loading…
Reference in a new issue