]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: armada: constify thermal_zone_of_device_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 30 Oct 2018 15:14:59 +0000 (16:14 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 5 Dec 2018 14:47:02 +0000 (06:47 -0800)
commitfc6da85ca9e936d1c1ab413113734fe266e5cb37
treeb519a9d9c7eb93d4bc57f5b7d185080cfc4d31a2
parent31430f846653091ea354583fe39a79de0c9624bd
thermal: armada: 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 devm_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/armada_thermal.c