iio: core: deconstify members of struct iio_chan_spec
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 20 Jul 2011 13:03:07 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:35:49 +0000 (13:35 -0700)
commit1c5e6a3f76a4f55d403bb6d0359b16efa4289809
treea4dd24258719e87bd050c6adc57a7b74c3edf8a6
parent4bfd542103dd343eca1275f99e02f40369f80163
iio: core: deconstify members of struct iio_chan_spec

Allow dynamic allocation and population of channel spec.

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