iio: industrialio-core: iio_write_channel_info accept IIO_VAL_INT_PLUS_NANO
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 27 Jun 2011 12:07:10 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:34 +0000 (14:39 -0700)
commit5c04af04835269c194662be63fe168893fad667f
tree06bdc2180ad8390d5bd398314ca986bf17adb578
parent43a4360ea8f075540cb7c1efc8d643b4261eb901
iio: industrialio-core: iio_write_channel_info accept IIO_VAL_INT_PLUS_NANO

Allow iio_write_channel_info() to accept IIO_VAL_INT_PLUS_NANO

Changes since V1:
use callback to query expected format/precision

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h
drivers/staging/iio/industrialio-core.c