diff mbox series

[2/8] dt-bindings: iio: addac: adi,ad74413r: improve example

Message ID 20221004115642.63749-2-krzysztof.kozlowski@linaro.org
State Not Applicable, archived
Headers show
Series [1/8] dt-bindings: iio: addac: adi,ad74413r: use spi-peripheral-props.yaml | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Krzysztof Kozlowski Oct. 4, 2022, 11:56 a.m. UTC
Improve example by: dropping unrelated properties (status and cs-gpios)
and using generic node name.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/iio/addac/adi,ad74413r.yaml          | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Rob Herring (Arm) Oct. 5, 2022, 1:25 p.m. UTC | #1
On Tue, 04 Oct 2022 13:56:36 +0200, Krzysztof Kozlowski wrote:
> Improve example by: dropping unrelated properties (status and cs-gpios)
> and using generic node name.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/iio/addac/adi,ad74413r.yaml          | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
index 2e8dad9278f2..58b3ae14ccaa 100644
--- a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
+++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
@@ -116,10 +116,7 @@  examples:
       #address-cells = <1>;
       #size-cells = <0>;
 
-      cs-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
-      status = "okay";
-
-      ad74413r@0 {
+      addac@0 {
         compatible = "adi,ad74413r";
         reg = <0>;
         spi-max-frequency = <1000000>;