[PATCH 0/2] regulator: fix typos and repeated words in comments

Hemanth Selam posted 2 patches 3 weeks ago
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(-)
[PATCH 0/2] regulator: fix typos and repeated words in comments
Posted by Hemanth Selam 3 weeks ago
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
Re: [PATCH 0/2] regulator: fix typos and repeated words in comments
Posted by Mark Brown 3 weeks ago
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