]> git.karo-electronics.de Git - linux-beck.git/commit
iio: adc: xilinx: constify iio_buffer_setup_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 15 Nov 2015 20:00:02 +0000 (21:00 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 18 Nov 2015 19:04:01 +0000 (19:04 +0000)
commitcef7e12585e61e2a03aea1c99331865213982f3a
tree6c64675fced922095a5d79a4b568a2313a991b84
parent52555a5d1058eec96c6bac2928bc965b0077c60e
iio: adc: xilinx: constify iio_buffer_setup_ops structure

The iio_buffer_setup_ops structures are never modified, so declare this one
as const, like the others.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/xilinx-xadc-core.c