Input: sun4i-ts - constify thermal_zone_of_device_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 15 Aug 2017 05:10:11 +0000 (22:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Aug 2017 05:12:06 +0000 (22:12 -0700)
commitd54cf213744709cae30271c4e9acf5ddd11ca49a
tree05dfae1f3fe3549ec3e30bdc9ed4d65ea70f2894
parent9e04b79ce432b8be2419dc52021afb6f07b78540
Input: sun4i-ts - constify thermal_zone_of_device_ops structures

The thermal_zone_of_device_ops structure is only passed as the fourth
argument to devm_thermal_zone_of_sensor_register, which is declared
as const.  Thus the thermal_zone_of_device_ops structure itself can
be const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/sun4i-ts.c