Commit f86380b7 authored by Rob Herring's avatar Rob Herring Committed by Guenter Roeck
Browse files

dt-bindings: hwmon: lm90: Drop Tegra specifics from example



There's no need to complicate examples with a platform specific macro.
It also complicates example parsing to figure out the number of
interrupt cells in examples (based on bracketing).

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220119015514.2441231-1-robh@kernel.org


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent e505e44f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@ additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/tegra-gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    i2c {
@@ -71,8 +70,7 @@ examples:
            compatible = "onnn,nct1008";
            reg = <0x4c>;
            vcc-supply = <&palmas_ldo6_reg>;
            interrupt-parent = <&gpio>;
            interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
            interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
            #thermal-sensor-cells = <1>;
        };
    };