docs: pwm: Fix bracket and punctuation
Subsystems (2)
PATCH v2 1/1 docs: pwm: Fix bracket and punctuation
Remove needless '(' and fix comma splice.
Signed-off-by Manuel Ebner <[email protected]>
CC Randy Dunlap <[email protected]>
---
[v2]
fix comma splice as Randy suggested.
[v1]
https://lore.kernel.org/all/[email protected]/
--- Documentation/driver-api/pwm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/pwm.rst +1 -1
@@ -177,7 +177,7 @@ and pwm_put() may not be called from an atomic context. Most functions in the PWM consumer API might sleep and so must not be called from atomic context. The notable exception is pwm_apply_atomic() which has the same semantics as pwm_apply_might_sleep() but can be called from atomic context. -(The price for that is that it doesn't work for all PWM devices, use +The price for that is that it doesn't work for all PWM devices. Use pwm_might_sleep() to check if a given PWM supports atomic operation. Locking in the PWM core ensures that callbacks related to a single chip are
Signature · 1 line
2.54.0
Quoted 4 lines · Manuel Ebner
Remove needless '(' and fix comma splice.
Signed-off-by Manuel Ebner <[email protected]>CC Randy Dunlap <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 23 lines
---
[v2]
fix comma splice as Randy suggested.[v1]
https://lore.kernel.org/all/[email protected]/--- Documentation/driver-api/pwm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/driver-api/pwm.rst +1
-1@@ -177,7 +177,7 @@ and pwm_put() may not be called from an atomic context. Most functions in the PWM consumer API might sleep and so must not be called from atomic context. The notable exception is pwm_apply_atomic() which has the same semantics as pwm_apply_might_sleep() but can be called from atomic context. -(The price for that is that it doesn't work for all PWM devices, use +The price for that is that it doesn't work for all PWM devices. Use pwm_might_sleep() to check if a given PWM supports atomic operation. Locking in the PWM core ensures that callbacks related to a single chip are
Signature · 1 line
~Randy
Uwe Kleine-König
maintainerHello,
Quoted 4 lines · Manuel Ebner
Remove needless '(' and fix comma splice.
Signed-off-by Manuel Ebner <[email protected]>CC Randy Dunlap <[email protected]>
applied with Randy's Ack to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next as 7.4-rc1 material.
Best regards
Uwe