Skip to content

Commit 143324f

Browse files
sarkro100Jonathan Cameron
authored andcommitted
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>
1 parent 72ad02b commit 143324f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/iio/iio.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ struct iio_buffer_setup_ops {
492492
* @buffer: [DRIVER] any buffer present
493493
* @buffer_list: [INTERN] list of all buffers currently attached
494494
* @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux
495-
* @mlock: [DRIVER] lock used to prevent simultaneous device state
495+
* @mlock: [INTERN] lock used to prevent simultaneous device state
496496
* changes
497497
* @available_scan_masks: [DRIVER] optional array of allowed bitmasks
498498
* @masklength: [INTERN] the length of the mask established from

0 commit comments

Comments
 (0)