[PATCH 1/2] dt-bindings: net: litex,liteeth: Correct example indentation

Gabriel L. Somlo gsomlo at gmail.com
Thu Aug 21 05:50:09 PDT 2025


On Thu, Aug 21, 2025 at 10:30:39AM +0200, Krzysztof Kozlowski wrote:
> DTS example in the bindings should be indented with 2- or 4-spaces, so
> correct a mixture of different styles to keep consistent 4-spaces.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Acked-by: Gabriel Somlo <gsomlo at gmail.com>

Thanks,
--Gabriel

> ---
>  .../devicetree/bindings/net/litex,liteeth.yaml         | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/litex,liteeth.yaml b/Documentation/devicetree/bindings/net/litex,liteeth.yaml
> index ebf4e360f8dd..bbb71556ec9e 100644
> --- a/Documentation/devicetree/bindings/net/litex,liteeth.yaml
> +++ b/Documentation/devicetree/bindings/net/litex,liteeth.yaml
> @@ -86,12 +86,12 @@ examples:
>          phy-handle = <&eth_phy>;
>  
>          mdio {
> -          #address-cells = <1>;
> -          #size-cells = <0>;
> +            #address-cells = <1>;
> +            #size-cells = <0>;
>  
> -          eth_phy: ethernet-phy at 0 {
> -            reg = <0>;
> -          };
> +            eth_phy: ethernet-phy at 0 {
> +                reg = <0>;
> +            };
>          };
>      };
>  ...
> -- 
> 2.48.1
> 



More information about the linux-arm-kernel mailing list