thermal: broadcom: constify thermal_zone_of_device_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 30 Oct 2018 15:15:00 +0000 (16:15 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 5 Dec 2018 14:47:46 +0000 (06:47 -0800)
commit1aea7aee805e3d1288f9f1fa4484964b51664960
treef2e35159eecbc62e4907f2a1c33557074ec93636
parent13cfb713c8c2035c058af3233c3432165c97ceeb
thermal: broadcom: constify thermal_zone_of_device_ops structure

The thermal_zone_of_device_ops structure can be const as it is only
passed as the last argument of thermal_zone_of_sensor_register
and the corresponding parameter is declared as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/broadcom/brcmstb_thermal.c