diff mbox series

media: dt-bindings: schema indentation fixes

Message ID 20201112224951.166313-1-robh@kernel.org
State Accepted
Commit 583791191c6d52528ae13a1812ecae43dfa12440
Headers show
Series media: dt-bindings: schema indentation fixes | expand

Commit Message

Rob Herring (Arm) Nov. 12, 2020, 10:49 p.m. UTC
Fix a few new indentation warnings found with yamllint (now integrated
into the checks).

Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Ricardo Ribalda <ribalda@kernel.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

---
 .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------
 3 files changed, 14 insertions(+), 14 deletions(-)

-- 
2.25.1

Comments

Rob Herring (Arm) Dec. 3, 2020, 3:11 p.m. UTC | #1
On Thu, Nov 12, 2020 at 04:49:51PM -0600, Rob Herring wrote:
> Fix a few new indentation warnings found with yamllint (now integrated
> into the checks).
> 
> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Jacopo Mondi <jacopo@jmondi.org>
> Cc: Ricardo Ribalda <ribalda@kernel.org>
> Cc: linux-media@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

Ping! This should go via the media tree.

>  .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
>  .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
>  .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------
>  3 files changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> index 3897af540ddd..407baddfaa1d 100644
> --- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> @@ -21,8 +21,8 @@ properties:
>    compatible:
>      items:
>        - enum:
> -        - adi,adv7611
> -        - adi,adv7612
> +          - adi,adv7611
> +          - adi,adv7612
>  
>    reg:
>      minItems: 1
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> index 63b3779d7289..6866c2cdac50 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> @@ -75,18 +75,18 @@ properties:
>                  bus-type:
>                    const: 6
>              then:
> -                properties:
> -                  hsync-active: false
> -                  vsync-active: false
> +              properties:
> +                hsync-active: false
> +                vsync-active: false
>  
>            - if:
>                properties:
>                  bus-width:
>                    const: 10
>              then:
> -                properties:
> -                  data-shift:
> -                    const: 0
> +              properties:
> +                data-shift:
> +                  const: 0
>  
>          required:
>            - bus-type
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 0f5e25fa4e9d..1a3590dd0e98 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -68,13 +68,13 @@ properties:
>              description: See ../video-interfaces.txt
>              anyOf:
>                - items:
> -                - const: 1
> -                - const: 2
> +                  - const: 1
> +                  - const: 2
>                - items:
> -                - const: 1
> -                - const: 2
> -                - const: 3
> -                - const: 4
> +                  - const: 1
> +                  - const: 2
> +                  - const: 3
> +                  - const: 4
>  
>            link-frequencies:
>              $ref: /schemas/types.yaml#/definitions/uint64-array
> -- 
> 2.25.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
index 3897af540ddd..407baddfaa1d 100644
--- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
@@ -21,8 +21,8 @@  properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
index 63b3779d7289..6866c2cdac50 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
@@ -75,18 +75,18 @@  properties:
                 bus-type:
                   const: 6
             then:
-                properties:
-                  hsync-active: false
-                  vsync-active: false
+              properties:
+                hsync-active: false
+                vsync-active: false
 
           - if:
               properties:
                 bus-width:
                   const: 10
             then:
-                properties:
-                  data-shift:
-                    const: 0
+              properties:
+                data-shift:
+                  const: 0
 
         required:
           - bus-type
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
index 0f5e25fa4e9d..1a3590dd0e98 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
@@ -68,13 +68,13 @@  properties:
             description: See ../video-interfaces.txt
             anyOf:
               - items:
-                - const: 1
-                - const: 2
+                  - const: 1
+                  - const: 2
               - items:
-                - const: 1
-                - const: 2
-                - const: 3
-                - const: 4
+                  - const: 1
+                  - const: 2
+                  - const: 3
+                  - const: 4
 
           link-frequencies:
             $ref: /schemas/types.yaml#/definitions/uint64-array