pwm: fix typos in comments
Subsystems (2)
PATCH 1/1 pwm: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/pwm/pwm-brcmstb.c | 2 +- drivers/pwm/pwm-pca9685.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/pwm/pwm-brcmstb.c +1 -1
@@ -101,7 +101,7 @@ static int brcmstb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,u32 value;/* -* If asking for a duty_ns equal to period_ns, we need to substract +* If asking for a duty_ns equal to period_ns, we need to subtract * the period value by 1 to make it shorter than the "on" time and * produce a flat 100% duty cycle signal, and max out the "on" time */
drivers/pwm/pwm-pca9685.c +1 -1
@@ -54,7 +54,7 @@/* * The time value of one counter tick. Note that NSEC_PER_SEC is an integer * multiple of PCA9685_OSC_CLOCK_HZ, so there is no rounding involved and we're -* not loosing precision due to the early division. +* not losing precision due to the early division. */ #define PCA9685_QUANTUM_NS (_prescale) ((NSEC_PER_SEC / PCA9685_OSC_CLOCK_HZ) * (_prescale + 1))
Signature · 1 line
2.48.1
Hello,
Quoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Thanks, applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
Best regards
Uwe