From 0118de7b4c04cba1b275d889ad14a39950f30021 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Mon, 8 Feb 2016 17:03:15 +0200 Subject: [PATCH] iio: Fix documentation for iio_dev mlock mlock *must* be used by core and drivers to protect access to devices state changes. Signed-off-by: Daniel Baluta Signed-off-by: Jonathan Cameron --- include/linux/iio/iio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index b589411..ce9e9c1 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -448,7 +448,7 @@ struct iio_buffer_setup_ops { * @buffer: [DRIVER] any buffer present * @buffer_list: [INTERN] list of all buffers currently attached * @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux - * @mlock: [INTERN] lock used to prevent simultaneous device state + * @mlock: [DRIVER] lock used to prevent simultaneous device state * changes * @available_scan_masks: [DRIVER] optional array of allowed bitmasks * @masklength: [INTERN] the length of the mask established from -- 2.7.4