ASoC: dt-bindings: maxim,max98925: Fix include placement in DTS example
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 24 Mar 2025 12:51:31 +0000 (13:51 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:25:15 +0000 (23:25 +0100)
Coding style and common logic dictates that headers should not be
included in device nodes.  No functional impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250324125131.81867-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/maxim,max98925.yaml

index 32fd86204a7ae4c0225e8ae56c7dba36459a0686..121e8d2d44da0b7b3b8808aeec295d241fd5e4f3 100644 (file)
@@ -77,11 +77,11 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     i2c {
         #address-cells = <1>;
         #size-cells = <0>;
 
-        #include <dt-bindings/gpio/gpio.h>
         audio-codec@3a {
             compatible = "maxim,max98927";
             reg = <0x3a>;