diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2016-02-08 18:03:15 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-08 21:34:32 +0300 |
commit | 0118de7b4c04cba1b275d889ad14a39950f30021 (patch) | |
tree | 11d2e9e4e873423371ec6fef2d64b05c17328506 /include/linux/iio | |
parent | 2c3a52363271526544afe9040661b26543655e65 (diff) | |
download | linux-0118de7b4c04cba1b275d889ad14a39950f30021.tar.xz |
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 <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/iio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index b5894118755f..ce9e9c1adf34 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 |