From: Hemanth Selam <hemanth.selam@gmail.com>
To: Sebastian Reichel <sre@kernel.org>,
Hans de Goede <hansg@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>,
Purism Kernel Team <kernel@puri.sm>,
Santosh Shilimkar <ssantosh@kernel.org>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] power: supply: fix typos in comments
Date: Mon, 7 Sep 2026 12:09:46 +0530 [thread overview]
Message-ID: <20260907063947.34852-2-hemanth.selam@gmail.com> (raw)
In-Reply-To: <20260907063947.34852-1-hemanth.selam@gmail.com>
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/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 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c
index 741a45cc5f35..f7510ada6b73 100644
--- a/drivers/power/supply/bq25890_charger.c
+++ b/drivers/power/supply/bq25890_charger.c
@@ -1590,7 +1590,7 @@ static int bq25890_suspend(struct device *dev)
struct bq25890_device *bq = dev_get_drvdata(dev);
/*
- * If charger is removed, while in suspend, make sure ADC is diabled
+ * If charger is removed, while in suspend, make sure ADC is disabled
* since it consumes slightly more power.
*/
return bq25890_field_write(bq, F_CONV_RATE, 0);
diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c
index fd4cd9cd2ce2..8e8c5109401a 100644
--- a/drivers/power/supply/charger-manager.c
+++ b/drivers/power/supply/charger-manager.c
@@ -904,7 +904,7 @@ static bool cm_setup_timer(void)
}
/**
- * charger_extcon_work - enable/diable charger according to the state
+ * charger_extcon_work - enable/disable charger according to the state
* of charger cable
*
* @work: work_struct of the function charger_extcon_work.
diff --git a/drivers/power/supply/da9030_battery.c b/drivers/power/supply/da9030_battery.c
index d25279c26030..8c4daec0a6b6 100644
--- a/drivers/power/supply/da9030_battery.c
+++ b/drivers/power/supply/da9030_battery.c
@@ -263,7 +263,7 @@ static void da9030_charger_check_state(struct da9030_charger *charger)
} else if (charger->adc.vbat_res >
charger->thresholds.vbat_low) {
/* we are charging and passed LOW_THRESH,
- so upate DA9030 VBAT threshold
+ so update DA9030 VBAT threshold
*/
da903x_write(charger->master, DA9030_VBATMON,
charger->thresholds.vbat_low);
diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
index cbf3ac9c3e14..a53970af56cb 100644
--- a/drivers/power/supply/max17042_battery.c
+++ b/drivers/power/supply/max17042_battery.c
@@ -1080,7 +1080,7 @@ static int max17042_init_chip(struct max17042_chip *chip)
/* update capacity params */
max17042_update_capacity_regs(chip);
- /* delay must be atleast 350mS to allow VFSOC
+ /* delay must be at least 350mS to allow VFSOC
* to be calculated from the new configuration
*/
msleep(350);
diff --git a/drivers/power/supply/sbs-charger.c b/drivers/power/supply/sbs-charger.c
index e7b4e10dcfd5..bc40bbb429e6 100644
--- a/drivers/power/supply/sbs-charger.c
+++ b/drivers/power/supply/sbs-charger.c
@@ -2,10 +2,10 @@
/*
* Copyright (c) 2016, Prodys S.L.
*
- * This adds support for sbs-charger compilant chips as defined here:
+ * This adds support for sbs-charger compliant chips as defined here:
* http://sbs-forum.org/specs/sbc110.pdf
*
- * Implemetation based on sbs-battery.c
+ * Implementation based on sbs-battery.c
*/
#include <linux/init.h>
diff --git a/drivers/power/supply/smb347-charger.c b/drivers/power/supply/smb347-charger.c
index c1b67dac8ef6..72dfa15b3d80 100644
--- a/drivers/power/supply/smb347-charger.c
+++ b/drivers/power/supply/smb347-charger.c
@@ -149,7 +149,7 @@
* @pre_charge_current: current (in uA) to use in pre-charging phase
* @termination_current: current (in uA) used to determine when the
* charging cycle terminates
- * @pre_to_fast_voltage: voltage (in uV) treshold used for transitioning to
+ * @pre_to_fast_voltage: voltage (in uV) threshold used for transitioning to
* pre-charge to fast charge mode
* @mains_current_limit: maximum input current drawn from AC/DC input (in uA)
* @usb_hc_current_limit: maximum input high current (in uA) drawn from USB
@@ -302,7 +302,7 @@ static int current_to_hw(const unsigned int *tbl, size_t size, unsigned int val)
*
* Function checks whether any power source is connected to the charger and
* updates internal state accordingly. If there is a change to previous state
- * function returns %1, otherwise %0 and negative errno in case of errror.
+ * function returns %1, otherwise %0 and negative errno in case of error.
*/
static int smb347_update_ps_status(struct smb347_charger *smb)
{
--
2.48.1
next prev parent reply other threads:[~2026-09-07 6:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 6:39 [PATCH 0/2] power: " Hemanth Selam
2026-09-07 6:39 ` Hemanth Selam [this message]
2026-09-07 6:39 ` [PATCH 2/2] power: reset: add missing space in error message Hemanth Selam
2026-09-07 7:09 ` Krzysztof Kozlowski
2026-09-09 20:49 ` (subset) [PATCH 0/2] power: fix typos in comments Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260907063947.34852-2-hemanth.selam@gmail.com \
--to=hemanth.selam@gmail.com \
--cc=hansg@kernel.org \
--cc=kernel@puri.sm \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=sebastian.krzyszkowiak@puri.sm \
--cc=sre@kernel.org \
--cc=ssantosh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®