[PATCH 0/2] power: fix typos in comments

Hemanth Selam posted 2 patches 2 weeks, 4 days ago
drivers/power/reset/keystone-reset.c    | 2 +-
drivers/power/supply/bq25890_charger.c  | 2 +-
drivers/power/supply/charger-manager.c  | 2 +-
drivers/power/supply/da9030_battery.c   | 2 +-
drivers/power/supply/max17042_battery.c | 2 +-
drivers/power/supply/sbs-charger.c      | 4 ++--
drivers/power/supply/smb347-charger.c   | 4 ++--
7 files changed, 9 insertions(+), 9 deletions(-)
[PATCH 0/2] power: fix typos in comments
Posted by Hemanth Selam 2 weeks, 4 days ago
This corrects 2 misspellings 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):
  power: supply: fix typos in comments
  power: reset: add missing space in error message

 drivers/power/reset/keystone-reset.c    | 2 +-
 drivers/power/supply/bq25890_charger.c  | 2 +-
 drivers/power/supply/charger-manager.c  | 2 +-
 drivers/power/supply/da9030_battery.c   | 2 +-
 drivers/power/supply/max17042_battery.c | 2 +-
 drivers/power/supply/sbs-charger.c      | 4 ++--
 drivers/power/supply/smb347-charger.c   | 4 ++--
 7 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.48.1
Re: (subset) [PATCH 0/2] power: fix typos in comments
Posted by Sebastian Reichel 2 weeks, 2 days ago
On Mon, 07 Sep 2026 12:09:45 +0530, Hemanth Selam wrote:
> This corrects 2 misspellings 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, thanks!

[1/2] power: supply: fix typos in comments
      commit: ee0b9288afbe0af27f7257d17bc0c1d61ca52007

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>