mbox series

[0/2] constify thermal_zone_of_device_ops structures

Message ID 1540912500-21941-1-git-send-email-Julia.Lawall@lip6.fr (mailing list archive)
Headers show
Series constify thermal_zone_of_device_ops structures | expand

Message

Julia Lawall Oct. 30, 2018, 3:14 p.m. UTC
The thermal_zone_of_device_ops structures can be const as they are
only passed as the last argument of a thermal_zone_of_sensor_register
function and the corresponding parameter is declared as const.

Done with the help of Coccinelle.

---

 drivers/thermal/armada_thermal.c           |    2 +-
 drivers/thermal/broadcom/brcmstb_thermal.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)