[PATCH] dt-bindings: Fix inconsistent quoting
Geert Uytterhoeven
geert at linux-m68k.org
Thu Oct 16 00:56:59 PDT 2025
Hi Rob,
On Thu, 16 Oct 2025 at 01:20, Rob Herring (Arm) <robh at kernel.org> wrote:
> yamllint has gained a new check which checks for inconsistent quoting
> (mixed " and ' quotes within a file). Fix all the cases yamllint found
> so we can enable the check (once the check is in a release). Use
> whichever quoting is dominate in the file.
>
> Signed-off-by: Rob Herring (Arm) <robh at kernel.org>
Thanks for your patch!
Since you are mentioning mixed quotes, is one or the other preferred?
Shouldn't we try to be consistent across all files?
> --- a/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
> @@ -129,7 +129,7 @@ additionalProperties:
>
> - type: object
> additionalProperties:
> - $ref: "#/additionalProperties/anyOf/0"
> + $ref: '#/additionalProperties/anyOf/0'
>
> examples:
> - |
> @@ -190,7 +190,7 @@ examples:
>
> sdhi0_pins: sd0 {
> groups = "sdhi0_data4", "sdhi0_ctrl";
> - function = "sdhi0";
> + function = "sdhi0';
Huh?
> power-source = <3300>;
> };
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-phy
mailing list