[PATCH net-next] dt-bindings: net: ethernet-controller: drop redundant type from label

Krzysztof Kozlowski posted 1 patch 1 year, 11 months ago
Documentation/devicetree/bindings/net/ethernet-controller.yaml | 1 -
1 file changed, 1 deletion(-)
[PATCH net-next] dt-bindings: net: ethernet-controller: drop redundant type from label
Posted by Krzysztof Kozlowski 1 year, 11 months ago
dtschema defines label as string, so $ref in other bindings is
redundant.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/net/ethernet-controller.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index d14d123ad7a0..b2785b03139f 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -14,7 +14,6 @@ properties:
     pattern: "^ethernet(@.*)?$"
 
   label:
-    $ref: /schemas/types.yaml#/definitions/string
     description: Human readable label on a port of a box.
 
   local-mac-address:
-- 
2.34.1
Re: [PATCH net-next] dt-bindings: net: ethernet-controller: drop redundant type from label
Posted by Rob Herring 1 year, 11 months ago
On Mon, 26 Feb 2024 13:29:13 +0100, Krzysztof Kozlowski wrote:
> dtschema defines label as string, so $ref in other bindings is
> redundant.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/net/ethernet-controller.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>