summaryrefslogtreecommitdiff
path: root/tools/lib/python/__init__.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2026-06-13 00:53:32 +0300
committerGuenter Roeck <linux@roeck-us.net>2026-06-13 15:53:18 +0300
commit9955c92abe72564a49c293b1c15cd3b4f02ea6a0 (patch)
tree4f7a5227f261a7bbd27d669f520df6c661a0af61 /tools/lib/python/__init__.py
parent83dda7ed185501ba1f8165aeca83ff4a8ef7c263 (diff)
downloadlinux-9955c92abe72564a49c293b1c15cd3b4f02ea6a0.tar.xz
hwmon: tmp401: Read "ti,n-factor" as signed
The "ti,n-factor" binding and examples allow negative correction values. Reading it as u32 makes the helper type disagree with the documented signed value and hides real schema mismatches. Use the signed helper so the DT access matches the s32 value stored by the driver. Assisted-by: Codex:gpt-5-5 Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20260612215332.1889497-1-robh@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions