Skip to contentSkip to conversation

docs: pwm: Fix bracket and punctuation

PATCH In review Manuel Ebner 3 participants 3 messages Sep 4 – Sep 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: pwm: Fix bracket and punctuation

Remove needless '(' and fix comma splice.

---
[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
index 0d27a40f5..b6b67f7d4 100644
@@ -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
reviewer Acked-by on v2 1/1
#1 lore raw
Quoted 4 lines · Manuel Ebner

Remove needless '(' and fix comma splice.

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
index 0d27a40f5..b6b67f7d4 100644
@@ -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