iio: ak8975: constify ak_def structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 5 Jan 2016 14:56:42 +0000 (15:56 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 Jan 2016 12:35:33 +0000 (12:35 +0000)
commitf78c5f96547e6eaa894557730af3f66b8116c5c2
tree36b6dc19bf17712b848f2372badf8557d575c316
parenta9fd053b56c6bb14972ab7a19da0b575fe4c5d66
iio: ak8975: constify ak_def structures

The ak_def structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c