diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 18:55:09 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-12 12:28:29 +0000 |
commit | 217a5cf0a1100264ced523e437e2e22c442dca7c (patch) | |
tree | e7b484eb21713ff0d59e5931a033374ffb38bcf0 /include/linux/iio/buffer.h | |
parent | 00d52334857c36fe52f8fc15a6fe3f0644fb73bc (diff) | |
download | talos-obmc-linux-217a5cf0a1100264ced523e437e2e22c442dca7c.tar.gz talos-obmc-linux-217a5cf0a1100264ced523e437e2e22c442dca7c.zip |
iio: Unexport iio_scan_mask_set()
Individual drivers should not be messing with the scan mask that contains
the list of enabled channels. This is something that is supposed to be
managed by the core.
Now that the last few drivers that used it to configure a default scan mask
have been updated to not do this anymore we can unexport the function.
Note, this patch also requires moving a few functions around so they are all
declared before the first internal user.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/buffer.h')
-rw-r--r-- | include/linux/iio/buffer.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h index 519392763393..8c8ce611949c 100644 --- a/include/linux/iio/buffer.h +++ b/include/linux/iio/buffer.h @@ -117,15 +117,6 @@ int iio_scan_mask_query(struct iio_dev *indio_dev, struct iio_buffer *buffer, int bit); /** - * iio_scan_mask_set() - set particular bit in the scan mask - * @indio_dev IIO device structure - * @buffer: the buffer whose scan mask we are interested in - * @bit: the bit to be set. - **/ -int iio_scan_mask_set(struct iio_dev *indio_dev, - struct iio_buffer *buffer, int bit); - -/** * iio_push_to_buffers() - push to a registered buffer. * @indio_dev: iio_dev structure for device. * @data: Full scan. |