diff mbox series

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

Message ID 20230826093852.9334-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes | expand

Commit Message

Krzysztof Kozlowski Aug. 26, 2023, 9:38 a.m. UTC
Drop unneeded quotes over simple string values to fix recently enabled
yamllint warning:

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Conor Dooley Aug. 26, 2023, 9:43 a.m. UTC | #1
On Sat, Aug 26, 2023 at 11:38:52AM +0200, Krzysztof Kozlowski wrote:
> Drop unneeded quotes over simple string values to fix recently enabled
> yamllint warning:
> 
>   [error] string value is redundantly quoted with any quotes (quoted-strings)
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
> index 1c79815e1f7f..57b6957c8415 100644
> --- a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
> +++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
> @@ -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]

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.
Miquel Raynal Aug. 28, 2023, 6:39 a.m. UTC | #2
On Sat, 2023-08-26 at 09:38:52 UTC, Krzysztof Kozlowski wrote:
> Drop unneeded quotes over simple string values to fix recently enabled
> yamllint warning:
> 
>   [error] string value is redundantly quoted with any quotes (quoted-strings)
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

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

Miquel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
index 1c79815e1f7f..57b6957c8415 100644
--- a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
@@ -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: