Re: [PATCH] hwmon: tmp401: Read "ti,n-factor" as signed

From: Guenter Roeck

Date: Sat Jun 13 2026 - 08:54:16 EST


On Fri, Jun 12, 2026 at 04:53:32PM -0500, Rob Herring (Arm) wrote:
> 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@xxxxxxxxxx>

Applied.

Thanks,
Guenter