From: Krzysztof Kozlowski Date: Sat, 24 Feb 2024 10:14:53 +0000 (+0100) Subject: dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2988ce56b5610a2802d0974371de53c004ea4888;p=linux.git dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema Reference common hwmon schema which allows to drop the "shunt-resistor-micro-ohms" property. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-4-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck --- diff --git a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml index 98ca163d34868..853df9fef6c83 100644 --- a/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml +++ b/Documentation/devicetree/bindings/hwmon/lltc,ltc4286.yaml @@ -25,15 +25,14 @@ properties: The default is 102.4 volts. type: boolean - shunt-resistor-micro-ohms: - description: - Resistor value micro-ohms. - required: - compatible - reg -additionalProperties: false +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false examples: - |