Skip to contentSkip to conversation

dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes

PATCH Applied Krzysztof Kozlowski 3 participants 3 messages Aug 26, 2023 – Aug 28, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes

Drop unneeded quotes over simple string values to fix recently enabled yamllint warning:

[error] string value is redundantly quoted with any quotes (quoted-strings)

---
 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml +2 -2
index 1c79815e1f7f..57b6957c8415 100644
@@ -67,8 +67,8 @@ patternProperties:
     unevaluatedProperties: false
 
     dependencies:
-      nand-ecc-strength: ['nand-ecc-step-size']
-      nand-ecc-step-size: ['nand-ecc-strength']
+      nand-ecc-strength: [nand-ecc-step-size]
+      nand-ecc-step-size: [nand-ecc-strength]
 
 
 required:
Signature · 6 lines
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Krzysztof Kozlowski

Drop unneeded quotes over simple string values to fix recently enabled yamllint warning:

[error] string value is redundantly quoted with any quotes (quoted-strings)

---
 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml +0 -0
index 1c79815e1f7f..57b6957c8415 100644

Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml patternProperties: · line 71

Quoted 7 lines
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml +2 -2
@@ -67,8 +67,8 @@ patternProperties:
     unevaluatedProperties: false
 
     dependencies:
-      nand-ecc-strength: ['nand-ecc-step-size']
-      nand-ecc-step-size: ['nand-ecc-strength']
+      nand-ecc-strength: [nand-ecc-step-size]
+      nand-ecc-step-size: [nand-ecc-strength]

Thanks,
Conor.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

maintainer Applied
#2 lore raw
In reply to Krzysztof Kozlowski
Quoted 7 lines · Krzysztof Kozlowski

Drop unneeded quotes over simple string values to fix recently enabled yamllint warning:

[error] string value is redundantly quoted with any quotes (quoted-strings)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/