summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-27 02:05:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-27 02:05:25 +0100
commit02c34ccc1d2d528d2de2897881b97933363432b5 (patch)
tree8d1f53965b2c828a11066759cbe2797a4c54cf4d /drivers/iio/industrialio-core.c
parentMerge tag 'iio-for-4.5b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic... (diff)
parentiio: adc: ina2xx: Fix incorrect report of data endianness to userspace. (diff)
downloadlinux-02c34ccc1d2d528d2de2897881b97933363432b5.tar.xz
linux-02c34ccc1d2d528d2de2897881b97933363432b5.zip
Merge tag 'iio-for-4.5c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes: Third set of new stuff for IIO in the 4.5 cycle. New driver features - us5182 * Add interrupt support and rising / falling threshold events. Cleanups / fixes to new stuff / minor additions * Expose the IIO value formatting function for drivers to make use of internally. - ina2xx * Fix wrong channel order * Fix incorrect reporting of endianness * Adding documentation of ABI unique to this device - mma8452 * Drop an unused register description * Use an enum for the channel index to aid readability - sca3000 * Use standard NULL comparison style - us5182 * fix an inconsistency in status of enable (a bug with no real effect until above patches are applied) * refactor the read_raw function to improve maintainability / readability.
Diffstat (limited to 'drivers/iio/industrialio-core.c')
-rw-r--r--drivers/iio/industrialio-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
index 8966f85ca4cd..fd01f3493fc7 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -470,6 +470,7 @@ ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals)
return 0;
}
}
+EXPORT_SYMBOL_GPL(iio_format_value);
static ssize_t iio_read_channel_info(struct device *dev,
struct device_attribute *attr,