* [PATCH 0/2] regulator: fix typos and repeated words in comments
@ 2026-09-04 11:01 Hemanth Selam
2026-09-04 11:02 ` [PATCH 1/2] regulator: fix typos " Hemanth Selam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:01 UTC (permalink / raw)
Cc: linux-kernel
This corrects 2 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
regulator: fix typos in comments
regulator: fix repeated word in log message
drivers/regulator/ab8500-ext.c | 2 +-
drivers/regulator/core.c | 2 +-
drivers/regulator/pv88080-regulator.c | 4 ++--
drivers/regulator/tps6105x-regulator.c | 2 +-
include/linux/regulator/driver.h | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] regulator: fix typos in comments
2026-09-04 11:01 [PATCH 0/2] regulator: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 11:02 ` Hemanth Selam
2026-09-04 11:02 ` [PATCH 2/2] regulator: fix repeated word in log message Hemanth Selam
2026-09-04 22:31 ` [PATCH 0/2] regulator: fix typos and repeated words in comments Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:02 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown; +Cc: linux-kernel
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>
---
drivers/regulator/ab8500-ext.c | 2 +-
drivers/regulator/core.c | 2 +-
drivers/regulator/pv88080-regulator.c | 4 ++--
include/linux/regulator/driver.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c
index b9955aa4e0d1..c0657362a102 100644
--- a/drivers/regulator/ab8500-ext.c
+++ b/drivers/regulator/ab8500-ext.c
@@ -88,7 +88,7 @@ static struct regulator_init_data ab8500_ext_regulators[] = {
* @update_reg: register to control on/off
* @update_mask: mask to enable/disable and set mode of regulator
* @update_val: bits holding the regulator current mode
- * @update_val_hp: bits to set EN pin active (LPn pin deactive)
+ * @update_val_hp: bits to set EN pin active (LPn pin deactivate)
* normally this means high power mode
* @update_val_lp: bits to set EN pin active and LPn pin active
* normally this means low power mode
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 6a4008f387b5..1e950260f441 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3029,7 +3029,7 @@ static int _regulator_do_enable(struct regulator_dev *rdev)
*/
trace_regulator_enable_delay(rdev_get_name(rdev));
- /* If poll_enabled_time is set, poll upto the delay calculated
+ /* If poll_enabled_time is set, poll up to the delay calculated
* above, delaying poll_enabled_time uS to check if the regulator
* actually got enabled.
* If the regulator isn't enabled after our delay helper has expired,
diff --git a/drivers/regulator/pv88080-regulator.c b/drivers/regulator/pv88080-regulator.c
index b96afbf11ff3..1f2c405fd2bd 100644
--- a/drivers/regulator/pv88080-regulator.c
+++ b/drivers/regulator/pv88080-regulator.c
@@ -432,7 +432,7 @@ static int pv88080_i2c_probe(struct i2c_client *i2c)
config.dev = chip->dev;
config.regmap = chip->regmap;
- /* Registeration for BUCK1, 2, 3 */
+ /* Registration for BUCK1, 2, 3 */
for (i = 0; i < PV88080_MAX_REGULATORS-1; i++) {
if (init_data)
config.init_data = &init_data[i];
@@ -498,7 +498,7 @@ static int pv88080_i2c_probe(struct i2c_client *i2c)
pv88080_regulator_info[PV88080_ID_HVBUCK].desc.vsel_mask
= regmap_config->hvbuck_vsel_mask;
- /* Registeration for HVBUCK */
+ /* Registration for HVBUCK */
if (init_data)
config.init_data = &init_data[PV88080_ID_HVBUCK];
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index cc6ce709ec86..55cc519103ed 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -362,7 +362,7 @@ enum regulator_type {
* @off_on_delay: guard time (in uS), before re-enabling a regulator
*
* @poll_enabled_time: The polling interval (in uS) to use while checking that
- * the regulator was actually enabled. Max upto enable_time.
+ * the regulator was actually enabled. Max up to enable_time.
*
* @of_map_mode: Maps a hardware mode defined in a DeviceTree to a standard mode
*/
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] regulator: fix repeated word in log message
2026-09-04 11:01 [PATCH 0/2] regulator: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:02 ` [PATCH 1/2] regulator: fix typos " Hemanth Selam
@ 2026-09-04 11:02 ` Hemanth Selam
2026-09-04 22:31 ` [PATCH 0/2] regulator: fix typos and repeated words in comments Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:02 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown; +Cc: linux-kernel
Drop the word written twice, reported by checkpatch.pl as a possible
repeated word.
Only the message text changes, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
drivers/regulator/tps6105x-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c
index a09c6ae6a0ce..7f99f3e90bec 100644
--- a/drivers/regulator/tps6105x-regulator.c
+++ b/drivers/regulator/tps6105x-regulator.c
@@ -65,7 +65,7 @@ static int tps6105x_regulator_probe(struct platform_device *pdev)
/* This instance is not set for regulator mode so bail out */
if (pdata->mode != TPS6105X_MODE_VOLTAGE) {
dev_info(&pdev->dev,
- "chip not in voltage mode mode, exit probe\n");
+ "chip not in voltage mode, exit probe\n");
return 0;
}
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] regulator: fix typos and repeated words in comments
2026-09-04 11:01 [PATCH 0/2] regulator: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:02 ` [PATCH 1/2] regulator: fix typos " Hemanth Selam
2026-09-04 11:02 ` [PATCH 2/2] regulator: fix repeated word in log message Hemanth Selam
@ 2026-09-04 22:31 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2026-09-04 22:31 UTC (permalink / raw)
To: Hemanth Selam; +Cc: linux-kernel
On Fri, 04 Sep 2026 16:31:59 +0530, Hemanth Selam wrote:
> regulator: fix typos and repeated words in comments
>
> This corrects 2 misspellings and repeated words in comments. Each is a
> separate patch so that any one of them can be dropped without touching
> the rest.
>
> Nothing outside comments changes. Every touched C file was checked by
> dropping its comments, replacing each string literal with a placeholder
> and collapsing whitespace; what remained was identical before and after,
> so the compiled code cannot differ.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.4
Thanks!
[1/2] regulator: fix typos in comments
https://git.kernel.org/broonie/regulator/c/f267ad84f59c
[2/2] regulator: fix repeated word in log message
https://git.kernel.org/broonie/regulator/c/63ab1abd01a1
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-05 11:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:01 [PATCH 0/2] regulator: fix typos and repeated words in comments Hemanth Selam
2026-09-04 11:02 ` [PATCH 1/2] regulator: fix typos " Hemanth Selam
2026-09-04 11:02 ` [PATCH 2/2] regulator: fix repeated word in log message Hemanth Selam
2026-09-04 22:31 ` [PATCH 0/2] regulator: fix typos and repeated words in comments Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®