Skip to content
Snippets Groups Projects
Commit f516fb70 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Whitespace clean-ups in schema files


Clean-up incorrect indentation, extra spaces, long lines, and missing
EOF newline in schema files. Most of the clean-ups are for list
indentation which should always be 2 spaces more than the preceding
keyword.

Found with yamllint (which I plan to integrate into the checks).

Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-spi@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 7c2a69f6
No related branches found
No related tags found
No related merge requests found
Showing
with 94 additions and 97 deletions
...@@ -147,4 +147,3 @@ examples: ...@@ -147,4 +147,3 @@ examples:
... ...
...@@ -177,10 +177,10 @@ properties: ...@@ -177,10 +177,10 @@ properties:
dependencies: dependencies:
# 'vendor,bool-property' is only allowed when 'vendor,string-array-property' # 'vendor,bool-property' is only allowed when 'vendor,string-array-property'
# is present # is present
vendor,bool-property: [ vendor,string-array-property ] vendor,bool-property: [ 'vendor,string-array-property' ]
# Expressing 2 properties in both orders means all of the set of properties # Expressing 2 properties in both orders means all of the set of properties
# must be present or none of them. # must be present or none of them.
vendor,string-array-property: [ vendor,bool-property ] vendor,string-array-property: [ 'vendor,bool-property' ]
required: required:
- compatible - compatible
......
...@@ -19,10 +19,8 @@ properties: ...@@ -19,10 +19,8 @@ properties:
reg: reg:
items: items:
- description: the I/O address containing the GPIO controller - description: the I/O address containing the GPIO controller registers.
registers. - description: the I/O address containing the Chip Common A interrupt registers.
- description: the I/O address containing the Chip Common A interrupt
registers.
gpio-controller: true gpio-controller: true
......
...@@ -26,7 +26,8 @@ properties: ...@@ -26,7 +26,8 @@ properties:
- description: AXI/master interface clock - description: AXI/master interface clock
- description: GPU core clock - description: GPU core clock
- description: Shader clock (only required if GPU has feature PIPE_3D) - description: Shader clock (only required if GPU has feature PIPE_3D)
- description: AHB/slave interface clock (only required if GPU can gate slave interface independently) - description: AHB/slave interface clock (only required if GPU can gate
slave interface independently)
minItems: 1 minItems: 1
maxItems: 4 maxItems: 4
......
...@@ -103,7 +103,6 @@ patternProperties: ...@@ -103,7 +103,6 @@ patternProperties:
- items: - items:
- const: 1 - const: 1
- enum: [ 1, 3, 4, 6, 20, 8, 10 ] - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
- items: - items:
- const: 10 - const: 10
- const: 81 - const: 81
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment