summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-24 16:00:46 +0530
committerLee Jones <lee@kernel.org>2026-09-24 15:31:13 +0100
commitfabc98ef4665b3b2a506b445c0ae3733caaaacea (patch)
tree761ad2c1b9944ec5a464e54e2651ac5f4526dbe1 /drivers
parent319633b06ff2bfc2a7a60d2cfcab2e681a343b27 (diff)
mfd: Fix a bunch of typos in comments
Fix misspellings in comments across the MFD drivers and headers, found with scripts/checkpatch.pl using the list in scripts/spelling.txt. Only touches comments, no code changes. Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: André Draszik <andre.draszik@linaro.org> Link: https://patch.msgid.link/20260924103046.1709181-1-hemanth.selam@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/88pm800.c4
-rw-r--r--drivers/mfd/kempld-core.c2
-rw-r--r--drivers/mfd/max8998.c2
-rw-r--r--drivers/mfd/rave-sp.c6
-rw-r--r--drivers/mfd/si476x-i2c.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index e9941da58b18..7f3e312b8f73 100644
--- a/drivers/mfd/88pm800.c
+++ b/drivers/mfd/88pm800.c
@@ -275,10 +275,10 @@ static int device_gpadc_init(struct pm80x_chip *chip,
goto out;
/*
- * the defult of PM800 is GPADC operates at 100Ks/s rate
+ * the default of PM800 is GPADC operates at 100Ks/s rate
* and Number of GPADC slots with active current bias prior
* to GPADC sampling = 1 slot for all GPADCs set for
- * Temprature mesurmants
+ * Temperature measurements
*/
mask = (PM800_GPADC_GP_BIAS_EN0 | PM800_GPADC_GP_BIAS_EN1 |
PM800_GPADC_GP_BIAS_EN2 | PM800_GPADC_GP_BIAS_EN3);
diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
index b64729918dfd..47062f876e5d 100644
--- a/drivers/mfd/kempld-core.c
+++ b/drivers/mfd/kempld-core.c
@@ -37,7 +37,7 @@ static void kempld_get_hardware_mutex(struct kempld_device_data *pld)
static void kempld_release_hardware_mutex(struct kempld_device_data *pld)
{
- /* The harware mutex is released when 1 is written to the mutex bit. */
+ /* The hardware mutex is released when 1 is written to the mutex bit. */
iowrite8(KEMPLD_MUTEX_KEY, pld->io_index);
}
diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c
index eb13bbaeda55..5032eab05bb4 100644
--- a/drivers/mfd/max8998.c
+++ b/drivers/mfd/max8998.c
@@ -146,7 +146,7 @@ static struct max8998_platform_data *max8998_i2c_parse_dt_pdata(
/*
* ToDo: the 'wakeup' member in the platform data is more of a linux
- * specfic information. Hence, there is no binding for that yet and
+ * specific information. Hence, there is no binding for that yet and
* not parsed here.
*/
return pd;
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd/rave-sp.c
index 05d26d92df03..53c57bafea8f 100644
--- a/drivers/mfd/rave-sp.c
+++ b/drivers/mfd/rave-sp.c
@@ -331,7 +331,7 @@ static u8 rave_sp_reply_code(u8 command)
return command + 0x20;
case 0xE0 ... 0xEF:
/*
- * Events emitted by all versions of the firmare use
+ * Events emitted by all versions of the firmware use
* least significant bit to get an ACK code
*/
return command | 0x01;
@@ -544,7 +544,7 @@ static size_t rave_sp_receive_buf(struct serdev_device *serdev,
* NOTE: The above means that only the
* frame started by third SOF, sent
* after this one will have a chance
- * to get throught.
+ * to get through.
*/
goto reset_framer;
case RAVE_SP_DLE:
@@ -595,7 +595,7 @@ static size_t rave_sp_receive_buf(struct serdev_device *serdev,
/*
* The only way to get out of the above loop and end up here
- * is throught consuming all of the supplied data, so here we
+ * is through consuming all of the supplied data, so here we
* report that we processed it all.
*/
return size;
diff --git a/drivers/mfd/si476x-i2c.c b/drivers/mfd/si476x-i2c.c
index 9bce720a0a08..6351aef2d3bb 100644
--- a/drivers/mfd/si476x-i2c.c
+++ b/drivers/mfd/si476x-i2c.c
@@ -222,7 +222,7 @@ int si476x_core_stop(struct si476x_core *core, bool soft)
atomic_set(&core->is_alive, 0);
if (soft) {
- /* TODO: This probably shoud be a configurable option,
+ /* TODO: This probably should be a configurable option,
* so it is possible to have the chips keep their
* oscillators running
*/