Re: [PATCH] dt-bindings: i2c: microchip,corei2c: Fix indentation of compatible items

From: Conor.Dooley
Date: Thu Feb 24 2022 - 07:55:52 EST


On 24/02/2022 12:31, Geert Uytterhoeven wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> make dt_binding_check:
>
> Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml:19:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

Hey Geert,
I've run dt_binding_check locally but I dont get a warning, is there
something I am missing?
Thanks,
Conor.

>
> Fixes: f1bd6661946b20d1 ("dt-bindings: i2c: add bindings for microchip mpfs i2c")
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml b/Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml
> index c8e605fbb8a6b3d0..7bad4b946a349c8b 100644
> --- a/Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml
> @@ -16,8 +16,8 @@ properties:
> compatible:
> oneOf:
> - items:
> - - const: microchip,mpfs-i2c # Microchip PolarFire SoC compatible SoCs
> - - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core
> + - const: microchip,mpfs-i2c # Microchip PolarFire SoC compatible SoCs
> + - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core
> - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core
>
> reg:
> --
> 2.25.1
>