[PATCH 1/2] regulator: fix typos in comments
From: Hemanth Selam
Date: Fri Sep 04 2026 - 08:21:01 EST
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@xxxxxxxxx>
---
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