提交 702e304f 编写于 作者: S Sachin Kamat 提交者: Thierry Reding

Documentation/pwm: Fix trivial typos

Fixes some trivial typos to improve readability.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 73d4e2b8
...@@ -39,7 +39,7 @@ New users should use the pwm_get() function and pass to it the consumer ...@@ -39,7 +39,7 @@ New users should use the pwm_get() function and pass to it the consumer
device or a consumer name. pwm_put() is used to free the PWM device. Managed device or a consumer name. pwm_put() is used to free the PWM device. Managed
variants of these functions, devm_pwm_get() and devm_pwm_put(), also exist. variants of these functions, devm_pwm_get() and devm_pwm_put(), also exist.
After being requested a PWM has to be configured using: After being requested, a PWM has to be configured using:
int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns); int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns);
...@@ -94,7 +94,7 @@ for new drivers to use the generic PWM framework. ...@@ -94,7 +94,7 @@ for new drivers to use the generic PWM framework.
A new PWM controller/chip can be added using pwmchip_add() and removed A new PWM controller/chip can be added using pwmchip_add() and removed
again with pwmchip_remove(). pwmchip_add() takes a filled in struct again with pwmchip_remove(). pwmchip_add() takes a filled in struct
pwm_chip as argument which provides a description of the PWM chip, the pwm_chip as argument which provides a description of the PWM chip, the
number of PWM devices provider by the chip and the chip-specific number of PWM devices provided by the chip and the chip-specific
implementation of the supported PWM operations to the framework. implementation of the supported PWM operations to the framework.
Locking Locking
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册