diff options
author | Lad Prabhakar <[email protected]> | 2022-09-09 19:28:38 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-10-04 11:21:18 +0200 |
commit | c7114365e3b7566cba86902123538c7d9bb62b7a (patch) | |
tree | f4fe829d9ea18bbe8b4fa806bf0779be33ffa302 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 34dc523bba724f2ec1f29328dadc7f4609cae645 (diff) |
thermal/drivers/rcar_thermal: Constify static thermal_zone_device_ops
The only usage of rcar_thermal_zone_of_ops is to pass its address to
devm_thermal_of_zone_register(), which takes a pointer to const struct
thermal_zone_device_ops. Make it const to allow the compiler to put
it in read-only memory.
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions