Tag: cef7e12585e61e2a03aea1c99331865213982f3a

iio: adc: xilinx: constify iio_buffer_setup_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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 Acked-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron — drivers/iio/adc/xilinx-xadc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c index 0370624..c2b5f10 100644 — …

Continue reading