Messages in this thread | | | From | Julia Lawall <> | Subject | [PATCH 0/2] constify thermal_zone_of_device_ops structures | Date | Tue, 30 Oct 2018 16:14:58 +0100 |
| |
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(-)
| |