summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2026-08-31 14:42:35 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-10 20:13:53 +0200
commitd98d8b50a87368880a58d04b48e5f66ba9d7cdc9 (patch)
treee3f0254923bd376b3b07c422abdce1a25789b5fb /tools/perf/scripts/python
parent5ad0af4f4367202b1bc71813052fe39b5116cdb9 (diff)
thermal: of: Match trip property helper types
The thermal-zone binding defines "temperature" as a signed int32 value and "hysteresis" as an unsigned int32 value. Using helpers with matching types avoids dt_property_check mismatches and preserves the signed interpretation needed for trips below zero. Read "temperature" with the signed helper and keep "hysteresis" on the unsigned helper using separate typed temporaries before storing them in the trip structure. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20260831194235.1182138-1-robh@kernel.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions