iio: Unexport iio_scan_mask_set()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 17:55:09 +0000 (18:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:28:29 +0000 (12:28 +0000)
commit217a5cf0a1100264ced523e437e2e22c442dca7c
treee7b484eb21713ff0d59e5931a033374ffb38bcf0
parent00d52334857c36fe52f8fc15a6fe3f0644fb73bc
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>
drivers/iio/industrialio-buffer.c
include/linux/iio/buffer.h