iio: Fix documentation for iio_dev mlock
authorDaniel Baluta <daniel.baluta@intel.com>
Mon, 8 Feb 2016 15:03:15 +0000 (17:03 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 8 Feb 2016 18:34:32 +0000 (18:34 +0000)
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>
include/linux/iio/iio.h

index b5894118755fbf7441b1dfe6d7a623f46a8f370f..ce9e9c1adf34fa681d1c4b51d360aee89700264f 100644 (file)
@@ -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
This page took 0.025537 seconds and 5 git commands to generate.