Skip to content

Commit 67db0ea

Browse files
krzkgroeck
authored andcommitted
dt-bindings: hwmon: ti,ina2xx: use common hwmon schema
Reference common hwmon schema which allows to drop the "label" property. Acked-by: Rob Herring <[email protected]> Acked-by: Guenter Roeck <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent d590900 commit 67db0ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ properties:
3636
"#io-channel-cells":
3737
const: 1
3838

39-
label:
40-
description: A descriptive name for this device.
41-
4239
shunt-resistor:
4340
description:
4441
Shunt resistor value in micro-Ohm.
@@ -73,7 +70,10 @@ required:
7370
- compatible
7471
- reg
7572

76-
additionalProperties: false
73+
allOf:
74+
- $ref: hwmon-common.yaml#
75+
76+
unevaluatedProperties: false
7777

7878
examples:
7979
- |

0 commit comments

Comments
 (0)