summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-07 11:56:58 +0530
committerUwe Kleine-König <ukleinek@kernel.org>2026-09-07 10:03:42 +0200
commitbdf16a4d74ae6b7fb6dc8953798ba0853ddc4705 (patch)
tree2c53f8997785207a2d4d32f64e6aeab7220786b4
parentabc07c4a34aee0b884a6011ea7a3aed022945416 (diff)
downloadlinux-next-bdf16a4d74ae6b7fb6dc8953798ba0853ddc4705.tar.gz
linux-next-bdf16a4d74ae6b7fb6dc8953798ba0853ddc4705.zip
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 <hemanth.selam@gmail.com> Link: https://patch.msgid.link/20260907062659.15500-1-hemanth.selam@gmail.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
-rw-r--r--drivers/pwm/pwm-brcmstb.c2
-rw-r--r--drivers/pwm/pwm-pca9685.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-brcmstb.c b/drivers/pwm/pwm-brcmstb.c
index 790ef7ffbbe5..78378787e4e9 100644
--- a/drivers/pwm/pwm-brcmstb.c
+++ b/drivers/pwm/pwm-brcmstb.c
@@ -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
*/
diff --git a/drivers/pwm/pwm-pca9685.c b/drivers/pwm/pwm-pca9685.c
index a2792b803643..3374ed76f8d3 100644
--- a/drivers/pwm/pwm-pca9685.c
+++ b/drivers/pwm/pwm-pca9685.c
@@ -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))