Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689030

[PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax

From Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Newsgroups linux.kernel
Subject [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax
Date 2017-07-17 15:20 +0200
Message-ID <u4e6m-5An-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The "Continuous Voltage" example specifies a pwm-dutycycle-range.
However, an equal sign is missing between the property name and value.
Fix this to allow copy and paste from the documentation when writing an
own .dts file with a pwm-regulator.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
index bf85aa9ad6a7..3d78d507e29f 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
@@ -71,7 +71,7 @@ Continuous Voltage With Enable GPIO Example:
 		 * Inverted PWM logic, and the duty cycle range is limited
 		 * to 30%-70%.
 		 */
-		pwm-dutycycle-range <700 300>; /* */
+		pwm-dutycycle-range = <700 300>; /* */
 	};
 
 Voltage Table Example:
-- 
2.13.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax Martin Blumenstingl <martin.blumenstingl@googlemail.com> - 2017-07-17 15:20 +0200
  Re: [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax Rob Herring <robh@kernel.org> - 2017-07-17 22:20 +0200

csiph-web