Commit d0dcd0ce authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: yamllint: Require a space after a comment '#'



Enable yamllint to check the preferred commenting style of requiring a
space after a comment character '#'. Fix the cases in the tree which
have a warning with this enabled. Most cases just need a space after the
'#'. A couple of cases with comments which were not intended to be
comments are revealed. Those were in ti,sa2ul.yaml, ti,cal.yaml, and
brcm,bcmgenet.yaml.

Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # drm/msm
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20230303214223.49451-1-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 20a72af1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ rules:
  colons: {max-spaces-before: 0, max-spaces-after: 1}
  commas: {min-spaces-after: 1, max-spaces-after: 1}
  comments:
    require-starting-space: false
    require-starting-space: true
    min-spaces-from-content: 1
  comments-indentation: disable
  document-start:
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ properties:
  dmas:
    items:
      - description: TX DMA Channel
      - description: RX DMA Channel #1
      - description: RX DMA Channel #2
      - description: 'RX DMA Channel #1'
      - description: 'RX DMA Channel #2'

  dma-names:
    items:
+2 −2
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ properties:
      port@0:
        $ref: /schemas/graph.yaml#/$defs/port-base
        unevaluatedProperties: false
        description: CSI2 Port #0
        description: 'CSI2 Port #0'

        properties:
          endpoint:
@@ -93,7 +93,7 @@ properties:
      port@1:
        $ref: /schemas/graph.yaml#/$defs/port-base
        unevaluatedProperties: false
        description: CSI2 Port #1
        description: 'CSI2 Port #1'

        properties:
          endpoint:
+0 −2
Original line number Diff line number Diff line
@@ -73,8 +73,6 @@ allOf:
unevaluatedProperties: false

examples:
  #include <dt-bindings/interrupt-controller/arm-gic.h>

  - |
    ethernet@f0b60000 {
        phy-mode = "internal";
+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+10 −10

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+12 −12

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading