aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-02-24 20:49:28 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-02-27 21:18:42 +0100
commit067345f11ae9f49c9bc84b5eff6672f565454aca (patch)
tree0241511d4414f9d06bc08da5f13710d11284c377 /scripts/lib/kdoc/kdoc_files.py
parentthermal: hisi: Use kcalloc() instead of kzalloc() with multiplication (diff)
downloadlinux-rng-067345f11ae9f49c9bc84b5eff6672f565454aca.tar.xz
linux-rng-067345f11ae9f49c9bc84b5eff6672f565454aca.zip
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions