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


Groups > linux.kernel > #1689432

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

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] dt-bindings: regulator: pwm-regulator: fix example syntax
Date 2017-07-17 22:20 +0200
Message-ID <u4kEN-1f3-1@gated-at.bofh.it> (permalink)
References <u4e6m-5An-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 17, 2017 at 03:18:23PM +0200, Martin Blumenstingl wrote:
> 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>; /* */

What's the point of "/* */" while you're here?

In any case,

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

Back to linux.kernel | Previous | NextPrevious 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