Skip to contentSkip to conversation

dt-bindings: input: Drop unneeded quotes

PATCH Applied Rob Herring 3 participants 4 messages Mar 20, 2023 – Apr 4, 2023

Subsystems (7)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: input: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint.

---
 Documentation/devicetree/bindings/input/adc-joystick.yaml     | 4 ++--
 .../devicetree/bindings/input/google,cros-ec-keyb.yaml        | 2 +-
 Documentation/devicetree/bindings/input/imx-keypad.yaml       | 2 +-
 Documentation/devicetree/bindings/input/matrix-keymap.yaml    | 2 +-
 .../devicetree/bindings/input/mediatek,mt6779-keypad.yaml     | 2 +-
 .../devicetree/bindings/input/microchip,cap11xx.yaml          | 4 ++--
 Documentation/devicetree/bindings/input/pwm-vibrator.yaml     | 4 ++--
 Documentation/devicetree/bindings/input/regulator-haptic.yaml | 4 ++--
 .../bindings/input/touchscreen/elan,elants_i2c.yaml           | 4 ++--
 9 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/input/adc-joystick.yaml +2 -2
index da0f8dfca8bf..6c244d66f8ce 100644
@@ -2,8 +2,8 @@
 # Copyright 2019-2020 Artur Rojek
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/adc-joystick.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: ADC attached joystick
 
Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml +1 -1
index e05690b3e963..3486c81699a8 100644
@@ -57,7 +57,7 @@ if:
       contains:
         const: google,cros-ec-keyb
 then:
-  $ref: "/schemas/input/matrix-keymap.yaml#"
+  $ref: /schemas/input/matrix-keymap.yaml#
   required:
     - keypad,num-rows
     - keypad,num-columns
Documentation/devicetree/bindings/input/imx-keypad.yaml +1 -1
index 7514df62b592..b110eb1f3358 100644
@@ -10,7 +10,7 @@ maintainers:
   - Liu Ying <[email protected]>
 
 allOf:
-  - $ref: "/schemas/input/matrix-keymap.yaml#"
+  - $ref: /schemas/input/matrix-keymap.yaml#
 
 description: |
   The KPP is designed to interface with a keypad matrix with 2-point contact
Documentation/devicetree/bindings/input/matrix-keymap.yaml +1 -1
index 4d6dbe91646d..a715c2a773fe 100644
@@ -21,7 +21,7 @@ description: |
 
 properties:
   linux,keymap:
-    $ref: '/schemas/types.yaml#/definitions/uint32-array'
+    $ref: /schemas/types.yaml#/definitions/uint32-array
     description: |
       An array of packed 1-cell entries containing the equivalent of row,
       column and linux key-code. The 32-bit big endian cell is packed as:
Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml +1 -1
index d768c30f48fb..47aac8794b68 100644
@@ -10,7 +10,7 @@ maintainers:
   - Mattijs Korpershoek <[email protected]>
 
 allOf:
-  - $ref: "/schemas/input/matrix-keymap.yaml#"
+  - $ref: /schemas/input/matrix-keymap.yaml#
 
 description: |
   Mediatek's Keypad controller is used to interface a SoC with a matrix-type
Documentation/devicetree/bindings/input/microchip,cap11xx.yaml +2 -2
index 5fa625b5c5fb..5b5d4f7d3482 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/microchip,cap11xx.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/microchip,cap11xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Microchip CAP11xx based capacitive touch sensors
 
Documentation/devicetree/bindings/input/pwm-vibrator.yaml +2 -2
index a70a636ee112..d32716c604fe 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/pwm-vibrator.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/pwm-vibrator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: PWM vibrator
 
Documentation/devicetree/bindings/input/regulator-haptic.yaml +2 -2
index 627891e1ef55..cf63f834dd7d 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/regulator-haptic.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/regulator-haptic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Regulator Haptic
 
Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml +2 -2
index f9053e5e9b24..3255c2c8951a 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Elantech I2C Touchscreen
 
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 4 lines · Rob Herring

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint.

Quoted 141 lines
---
 Documentation/devicetree/bindings/input/adc-joystick.yaml     | 4 ++--
 .../devicetree/bindings/input/google,cros-ec-keyb.yaml        | 2 +-
 Documentation/devicetree/bindings/input/imx-keypad.yaml       | 2 +-
 Documentation/devicetree/bindings/input/matrix-keymap.yaml    | 2 +-
 .../devicetree/bindings/input/mediatek,mt6779-keypad.yaml     | 2 +-
 .../devicetree/bindings/input/microchip,cap11xx.yaml          | 4 ++--
 Documentation/devicetree/bindings/input/pwm-vibrator.yaml     | 4 ++--
 Documentation/devicetree/bindings/input/regulator-haptic.yaml | 4 ++--
 .../bindings/input/touchscreen/elan,elants_i2c.yaml           | 4 ++--
 9 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/input/adc-joystick.yaml +2 -2
index da0f8dfca8bf..6c244d66f8ce 100644
@@ -2,8 +2,8 @@
 # Copyright 2019-2020 Artur Rojek
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/adc-joystick.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: ADC attached joystick
 
Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml +1 -1
index e05690b3e963..3486c81699a8 100644
@@ -57,7 +57,7 @@ if:
       contains:
         const: google,cros-ec-keyb
 then:
-  $ref: "/schemas/input/matrix-keymap.yaml#"
+  $ref: /schemas/input/matrix-keymap.yaml#
   required:
     - keypad,num-rows
     - keypad,num-columns
Documentation/devicetree/bindings/input/imx-keypad.yaml +1 -1
index 7514df62b592..b110eb1f3358 100644
@@ -10,7 +10,7 @@ maintainers:
   - Liu Ying <[email protected]>
 
 allOf:
-  - $ref: "/schemas/input/matrix-keymap.yaml#"
+  - $ref: /schemas/input/matrix-keymap.yaml#
 
 description: |
   The KPP is designed to interface with a keypad matrix with 2-point contact
Documentation/devicetree/bindings/input/matrix-keymap.yaml +1 -1
index 4d6dbe91646d..a715c2a773fe 100644
@@ -21,7 +21,7 @@ description: |
 
 properties:
   linux,keymap:
-    $ref: '/schemas/types.yaml#/definitions/uint32-array'
+    $ref: /schemas/types.yaml#/definitions/uint32-array
     description: |
       An array of packed 1-cell entries containing the equivalent of row,
       column and linux key-code. The 32-bit big endian cell is packed as:
Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml +1 -1
index d768c30f48fb..47aac8794b68 100644
@@ -10,7 +10,7 @@ maintainers:
   - Mattijs Korpershoek <[email protected]>
 
 allOf:
-  - $ref: "/schemas/input/matrix-keymap.yaml#"
+  - $ref: /schemas/input/matrix-keymap.yaml#
 
 description: |
   Mediatek's Keypad controller is used to interface a SoC with a matrix-type
Documentation/devicetree/bindings/input/microchip,cap11xx.yaml +2 -2
index 5fa625b5c5fb..5b5d4f7d3482 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/microchip,cap11xx.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/microchip,cap11xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Microchip CAP11xx based capacitive touch sensors
 
Documentation/devicetree/bindings/input/pwm-vibrator.yaml +2 -2
index a70a636ee112..d32716c604fe 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/pwm-vibrator.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/pwm-vibrator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: PWM vibrator
 
Documentation/devicetree/bindings/input/regulator-haptic.yaml +2 -2
index 627891e1ef55..cf63f834dd7d 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/regulator-haptic.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/regulator-haptic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Regulator Haptic
 
Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml +2 -2
index f9053e5e9b24..3255c2c8951a 100644
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Elantech I2C Touchscreen
 
Signature · 1 line
2.39.2
author maintainer Applied
#3 lore raw
In reply to Rob Herring
Quoted 4 lines · Rob Herring

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint.

Quoted 11 lines
---
 Documentation/devicetree/bindings/input/adc-joystick.yaml     | 4 ++--
 .../devicetree/bindings/input/google,cros-ec-keyb.yaml        | 2 +-
 Documentation/devicetree/bindings/input/imx-keypad.yaml       | 2 +-
 Documentation/devicetree/bindings/input/matrix-keymap.yaml    | 2 +-
 .../devicetree/bindings/input/mediatek,mt6779-keypad.yaml     | 2 +-
 .../devicetree/bindings/input/microchip,cap11xx.yaml          | 4 ++--
 Documentation/devicetree/bindings/input/pwm-vibrator.yaml     | 4 ++--
 Documentation/devicetree/bindings/input/regulator-haptic.yaml | 4 ++--
 .../bindings/input/touchscreen/elan,elants_i2c.yaml           | 4 ++--
 9 files changed, 14 insertions(+), 14 deletions(-)

Applied, thanks.