iio: inkern: add iio_read_channel_average_raw
authorSebastian Reichel <sre@debian.org>
Fri, 3 Oct 2014 16:25:00 +0000 (17:25 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 16 Mar 2014 18:00:33 +0000 (18:00 +0000)
commit476d4af22cec8a9ebc90137712e5ab7070b7379d
tree3da0d92e3e37b9a37e0184d5bf8d10a9e2a7d60c
parentc0a6b7ee9498269e4bf9a7e6676f2f45edca2f1a
iio: inkern: add iio_read_channel_average_raw

Add iio_read_channel_average_raw to support reading
averaged raw values in consumer drivers.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/inkern.c
include/linux/iio/consumer.h