]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8637851ee9074ffde976eb146d60ed80423d971
tree36b6dc19bf17712b848f2372badf8557d575c316
parent09e4764eb543ff7147a661282877c4fe6e7f2f20
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