]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: hwmon: ti,tmp421: Fix type for 'ti,n-factor'
authorRob Herring <robh@kernel.org>
Wed, 13 Apr 2022 13:47:29 +0000 (08:47 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Apr 2022 14:12:24 +0000 (07:12 -0700)
commitb1f6fb034e7ea17ae842919fa008453cbe68509b
treeecf8ddcb07ab49a9a1d3209e81a083bcd148c504
parent0ec425d9670b03dcef28bb3be1414726884f7e75
dt-bindings: hwmon: ti,tmp421: Fix type for 'ti,n-factor'

'ti,n-factor' is read as a 32-bit signed value, so the type and constraints
are wrong. The same property is also defined for ti,tmp464 and is correct.

The constraints should also not be under 'items' as this property is not an
array.

Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: linux-hwmon@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220413134729.3112190-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ti,tmp421.yaml