[PATCH] dt-bindings: iio: dac: mcp47feb02: fix example indentation

Ariana Lazar posted 1 patch 1 month, 3 weeks ago
.../bindings/iio/dac/microchip,mcp47feb02.yaml     | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
[PATCH] dt-bindings: iio: dac: mcp47feb02: fix example indentation
Posted by Ariana Lazar 1 month, 3 weeks ago
Correct inconsistent indentation in the example and use consistent 4-space
indentation.

Signed-off-by: Ariana Lazar <ariana.lazar@microchip.com>
---
 .../bindings/iio/dac/microchip,mcp47feb02.yaml     | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml b/Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml
index d2466aa6bda2106a8b695347a0edf38462294d03..ad078137a8eb78e70544dfdd8e3153f2cc91777f 100644
--- a/Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml
@@ -281,22 +281,22 @@ examples:
         #address-cells = <1>;
         #size-cells = <0>;
         dac@0 {
-          compatible = "microchip,mcp47feb02";
-          reg = <0>;
-          vdd-supply = <&vdac_vdd>;
-          vref-supply = <&vref_reg>;
-
-          #address-cells = <1>;
-          #size-cells = <0>;
-          channel@0 {
+            compatible = "microchip,mcp47feb02";
             reg = <0>;
-            label = "Adjustable_voltage_ch0";
-          };
+            vdd-supply = <&vdac_vdd>;
+            vref-supply = <&vref_reg>;
+
+            #address-cells = <1>;
+            #size-cells = <0>;
+            channel@0 {
+                reg = <0>;
+                label = "Adjustable_voltage_ch0";
+            };
 
-          channel@1 {
-            reg = <0x1>;
-            label = "Adjustable_voltage_ch1";
-          };
-      };
+            channel@1 {
+                reg = <0x1>;
+                label = "Adjustable_voltage_ch1";
+            };
+        };
     };
 ...

---
base-commit: d2a4ec19d2a2e54c23b5180e939994d3da4a6b91
change-id: 20260422-mcp47feb02-fix7-dacd257586b7

Best regards,
-- 
Ariana Lazar <ariana.lazar@microchip.com>
Re: [PATCH] dt-bindings: iio: dac: mcp47feb02: fix example indentation
Posted by Conor Dooley 1 month, 3 weeks ago
On Wed, Apr 22, 2026 at 04:40:52PM +0300, Ariana Lazar wrote:
> Correct inconsistent indentation in the example and use consistent 4-space
> indentation.
> 
> Signed-off-by: Ariana Lazar <ariana.lazar@microchip.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
Re: [PATCH] dt-bindings: iio: dac: mcp47feb02: fix example indentation
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Wed, 22 Apr 2026 17:53:42 +0100
Conor Dooley <conor@kernel.org> wrote:

> On Wed, Apr 22, 2026 at 04:40:52PM +0300, Ariana Lazar wrote:
> > Correct inconsistent indentation in the example and use consistent 4-space
> > indentation.
> > 
> > Signed-off-by: Ariana Lazar <ariana.lazar@microchip.com>  
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> pw-bot: not-applicable

Applied to the testing branch of iio.git. I'll rebase on rc1
once available and then push out as togreg for linux-next to pick up.

Thanks,

Jonathan