From: Rob Herring Date: Wed, 26 Jan 2022 23:12:50 +0000 (-0600) Subject: regulator: maxim,max8973: Drop Tegra specifics from example X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa183433bf53ee092323005f05cb3491e4aaaa8b;p=linux.git regulator: maxim,max8973: 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 the bracketing). Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220126231250.1635021-1-robh@kernel.org Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/regulator/maxim,max8973.yaml b/Documentation/devicetree/bindings/regulator/maxim,max8973.yaml index 35c53e27f78cc..5898dcf10f067 100644 --- a/Documentation/devicetree/bindings/regulator/maxim,max8973.yaml +++ b/Documentation/devicetree/bindings/regulator/maxim,max8973.yaml @@ -113,7 +113,7 @@ examples: }; - | - #include + #include #include i2c { @@ -123,8 +123,7 @@ examples: regulator@1b { compatible = "maxim,max77621"; reg = <0x1b>; - interrupt-parent = <&gpio>; - interrupts = ; + interrupts = <1 IRQ_TYPE_LEVEL_LOW>; regulator-always-on; regulator-boot-on;