Skip to content

Commit 5e3f89a

Browse files
robherringgroeck
authored andcommitted
dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property
'ti,n-factor' is a scalar type, so 'items' should not be used as that is for arrays/matrix. A pending meta-schema change will catch future cases. Fixes: bd90c5b ("dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x") Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220606212223.1360395-1-robh@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent f2906aa commit 5e3f89a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ properties:
4040
value to be used for converting remote channel measurements to
4141
temperature.
4242
$ref: /schemas/types.yaml#/definitions/int32
43-
items:
44-
minimum: -128
45-
maximum: 127
43+
minimum: -128
44+
maximum: 127
4645

4746
ti,beta-compensation:
4847
description:

0 commit comments

Comments
 (0)