diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-02-24 22:49:28 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-02-27 23:18:42 +0300 |
commit | 067345f11ae9f49c9bc84b5eff6672f565454aca (patch) | |
tree | 0241511d4414f9d06bc08da5f13710d11284c377 /tools/perf/scripts/python/gecko.py | |
parent | 063ab16ff5cfa74aba25ec7efa08d2d016a429da (diff) | |
download | linux-067345f11ae9f49c9bc84b5eff6672f565454aca.tar.xz |
thermal: intel: Clean up zone_trips[] initialization in int340x_thermal_zone_add()
'zone_trips[]' has just been allocated with kzalloc(), so .flags is
known to be 0, so assign THERMAL_TRIP_FLAG_RW_TEMP directly to it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/cceb7f8864c43f046cf1c19c3bbcc38a7a57adc5.1740426540.git.christophe.jaillet@wanadoo.fr
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions