From: Shi Hao <i.shihao.999@gmail.com>
To: jic23@kernel.org
Cc: andriy.shevchenko@intel.com, andy@kernel.org,
dlechner@baylibre.com, i.shihao.999@gmail.com,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
mazziesaccount@gmail.com, nuno.sa@analog.com
Subject: [PATCH v5 02/14] iio: light: fix several incorrect spellings
Date: Mon, 16 Mar 2026 14:30:10 +0530 [thread overview]
Message-ID: <20260316090023.14691-3-i.shihao.999@gmail.com> (raw)
In-Reply-To: <20260316090023.14691-1-i.shihao.999@gmail.com>
Fix spelling mistakes reported by codespell.
- sesnor -> sensor
- substraction -> subtraction
- simulataneous -> simultaneous
- proccessed -> processed
- coefficents -> coefficients
Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
---
drivers/iio/light/Kconfig | 2 +-
drivers/iio/light/apds9160.c | 2 +-
drivers/iio/light/ltr390.c | 2 +-
drivers/iio/light/opt3001.c | 2 +-
drivers/iio/light/tsl2772.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index ac1408d374c9..eff33e456c70 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -359,7 +359,7 @@ config ROHM_BU27034
select IIO_KFIFO_BUF
help
Enable support for the ROHM BU27034 ambient light sensor. ROHM BU27034
- is an ambient light sesnor with 3 channels and 3 photo diodes capable
+ is an ambient light sensor with 3 channels and 3 photo diodes capable
of detecting a very wide range of illuminance.
Typical application is adjusting LCD and backlight power of TVs and
mobile phones.
diff --git a/drivers/iio/light/apds9160.c b/drivers/iio/light/apds9160.c
index 9b8af11b7b67..3da0bdac04cf 100644
--- a/drivers/iio/light/apds9160.c
+++ b/drivers/iio/light/apds9160.c
@@ -620,7 +620,7 @@ static int apds9160_set_ps_gain(struct apds9160_chip *data, int val)
/*
* The PS intelligent cancellation level register allows
- * for an on-chip substraction of the ADC count caused by
+ * for an on-chip subtraction of the ADC count caused by
* unwanted reflected light from PS ADC output.
*/
static int apds9160_set_ps_cancellation_level(struct apds9160_chip *data,
diff --git a/drivers/iio/light/ltr390.c b/drivers/iio/light/ltr390.c
index fc387426fa87..f1702aca582d 100644
--- a/drivers/iio/light/ltr390.c
+++ b/drivers/iio/light/ltr390.c
@@ -101,7 +101,7 @@ enum ltr390_meas_rate {
struct ltr390_data {
struct regmap *regmap;
struct i2c_client *client;
- /* Protects device from simulataneous reads */
+ /* Protects device from simultaneous reads */
struct mutex lock;
enum ltr390_mode mode;
int gain;
diff --git a/drivers/iio/light/opt3001.c b/drivers/iio/light/opt3001.c
index 393a3d2fbe1d..53bc455b7bad 100644
--- a/drivers/iio/light/opt3001.c
+++ b/drivers/iio/light/opt3001.c
@@ -91,7 +91,7 @@ struct opt3001_chip_info {
*/
int factor_integer;
/*
- * Factor used to align decimal part of proccessed value to six decimal
+ * Factor used to align decimal part of processed value to six decimal
* places.
*/
int factor_decimal;
diff --git a/drivers/iio/light/tsl2772.c b/drivers/iio/light/tsl2772.c
index 0b171106441a..c8f15ba95267 100644
--- a/drivers/iio/light/tsl2772.c
+++ b/drivers/iio/light/tsl2772.c
@@ -190,7 +190,7 @@ struct tsl2772_chip {
};
/*
- * Different devices require different coefficents, and these numbers were
+ * Different devices require different coefficients, and these numbers were
* derived from the 'Lux Equation' section of the various device datasheets.
* All of these coefficients assume a Glass Attenuation (GA) factor of 1.
* The coefficients are multiplied by 1000 to avoid floating point operations.
--
2.53.0
next prev parent reply other threads:[~2026-03-16 9:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 9:00 [PATCH v5 00/14] iio: fix spelling mistakes in comments Shi Hao
2026-03-16 9:00 ` [PATCH v5 01/14] iio: accel: fix typo celcius to Celsius Shi Hao
2026-03-21 19:11 ` Jonathan Cameron
2026-03-16 9:00 ` Shi Hao [this message]
2026-03-21 19:12 ` [PATCH v5 02/14] iio: light: fix several incorrect spellings Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 03/14] iio: adc: add an article and use digitize instead of digitalize Shi Hao
2026-03-21 19:13 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 04/14] iio: imu: fix typo from adjustement to adjustment Shi Hao
2026-03-21 19:16 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 05/14] iio: magnetometer: fix various spelling mistakes Shi Hao
2026-03-21 19:16 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 06/14] iio: pressure: fix spelling mistakes in comments Shi Hao
2026-03-17 6:31 ` Matti Vaittinen
2026-03-21 19:17 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 07/14] iio: proximity: fix typo from currenly to currently Shi Hao
2026-03-21 19:19 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 08/14] iio: resolver: fix typo from degredation to degradation Shi Hao
2026-03-16 16:20 ` Andy Shevchenko
2026-03-16 16:22 ` Andy Shevchenko
2026-03-18 13:45 ` ShiHao
2026-03-18 14:49 ` Andy Shevchenko
2026-03-21 11:55 ` ShiHao
2026-03-21 16:32 ` David Lechner
2026-03-21 19:22 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 09/14] iio: temp: fix spelling mistakes in comments Shi Hao
2026-03-21 19:23 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 10/14] iio: test: fix typo from neeeds to needs in comment Shi Hao
2026-03-17 6:32 ` Matti Vaittinen
2026-03-21 19:24 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 11/14] iio: common: fix spelling mistakes in comments Shi Hao
2026-03-21 19:25 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 12/14] iio: chemical: rephrase comment and fix a typo Shi Hao
2026-03-21 19:29 ` Jonathan Cameron
2026-03-16 9:00 ` [PATCH v5 13/14] iio: cdc: fix spelling mistakes in comments Shi Hao
2026-03-16 9:00 ` [PATCH v5 14/14] iio: amplifiers: fix typo from Curren to Current Shi Hao
2026-03-16 15:00 ` [PATCH v5 00/14] iio: fix spelling mistakes in comments Andy Shevchenko
2026-03-21 19:32 ` Jonathan Cameron
2026-03-26 11:43 ` ShiHao
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=20260316090023.14691-3-i.shihao.999@gmail.com \
--to=i.shihao.999@gmail.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=nuno.sa@analog.com \
/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®