Files
linux/drivers/staging
Lars-Peter Clausen f4e4b9558b staging:iio: Constify static iio_chan_spec arrays
The per driver iio_chan_spec arrays are usually shared between multiple device
instances. So a single device instance may not modify the iio_chan_spec array
since this would also affect the other device instances. To make this restriction
explicit mark the per driver iio_chan_spec arrays as const.

Conversion was done automatically using the following coccinelle semantic patch:

// <smpl>
@disable optional_qualifier@
identifier channels;
@@
static
+const
struct iio_chan_spec channels[] = ...;
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-08-14 20:27:42 +01:00
..
2012-07-06 16:08:57 -07:00
2012-06-25 09:31:00 -07:00
2012-07-16 19:24:46 -07:00
2012-07-06 16:21:54 -07:00
2012-08-13 19:32:14 -07:00
2012-07-19 15:39:39 -07:00
2012-07-09 11:35:00 -07:00