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

Krzysztof Kozlowski posted 1 patch 2 years, 3 months ago
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes
Posted by Krzysztof Kozlowski 2 years, 3 months ago
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]
 
 
 required:
-- 
2.34.1
Re: [PATCH] dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes
Posted by Miquel Raynal 2 years, 3 months ago
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
Re: [PATCH] dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes
Posted by Conor Dooley 2 years, 3 months ago
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.