IIO: inkern: API for manipulating channel attributes
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Wed, 10 Jan 2018 10:13:06 +0000 (11:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jan 2018 10:30:08 +0000 (10:30 +0000)
commit34739a213dbb85c8d775de42d52358255059c257
treea12a6cb37562cf92480e9b45e18c1f3257135e51
parentb688c18d30060e8a840d8af72790339c72acdac4
IIO: inkern: API for manipulating channel attributes

Extend the inkern API with functions for reading and writing
attribute of iio channels.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/iio/inkern.c
include/linux/iio/consumer.h
include/linux/iio/iio.h
include/linux/iio/types.h