[PATCH] iio: fix typos in comments
From: Hemanth Selam
Date: Fri Sep 04 2026 - 08:51:08 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/iio/dac/ad8460.c | 2 +-
drivers/iio/dummy/iio_simple_dummy.c | 2 +-
drivers/iio/light/ltr501.c | 4 ++--
drivers/iio/pressure/rohm-bm1390.c | 2 +-
drivers/iio/test/iio-test-rescale.c | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/iio/dac/ad8460.c b/drivers/iio/dac/ad8460.c
index a2292810e4cf..469294fd1783 100644
--- a/drivers/iio/dac/ad8460.c
+++ b/drivers/iio/dac/ad8460.c
@@ -304,7 +304,7 @@ static ssize_t ad8460_write_powerdown(struct iio_dev *indio_dev, uintptr_t priva
* If powerdown is set, HVDAC is enabled and the HV driver is
* enabled via HV_RESET in case it is in shutdown mode,
* If powerdown is cleared, HVDAC is set to shutdown state
- * as well as the HV driver. Quiescent current decreases and ouput is
+ * as well as the HV driver. Quiescent current decreases and output is
* floating (high impedance).
*/
diff --git a/drivers/iio/dummy/iio_simple_dummy.c b/drivers/iio/dummy/iio_simple_dummy.c
index 19fcdbbc11c6..28ae1e7b593d 100644
--- a/drivers/iio/dummy/iio_simple_dummy.c
+++ b/drivers/iio/dummy/iio_simple_dummy.c
@@ -116,7 +116,7 @@ static const struct iio_chan_spec iio_dummy_channels[] = {
BIT(IIO_CHAN_INFO_OFFSET) |
/*
* in_voltage0_scale
- * Multipler for userspace to apply post offset
+ * Multiplier for userspace to apply post offset
* when converting to standard units (microvolts)
*/
BIT(IIO_CHAN_INFO_SCALE),
diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c
index fa0d16890c8b..52125fd52f75 100644
--- a/drivers/iio/light/ltr501.c
+++ b/drivers/iio/light/ltr501.c
@@ -478,7 +478,7 @@ static int ltr501_write_intr_prst(struct ltr501_data *data,
if (ret < 0)
return ret;
- /* period should be atleast equal to sampling period */
+ /* period should be at least equal to sampling period */
if (period < samp_period)
return -EINVAL;
@@ -498,7 +498,7 @@ static int ltr501_write_intr_prst(struct ltr501_data *data,
if (ret < 0)
return ret;
- /* period should be atleast equal to rate */
+ /* period should be at least equal to rate */
if (period < samp_period)
return -EINVAL;
diff --git a/drivers/iio/pressure/rohm-bm1390.c b/drivers/iio/pressure/rohm-bm1390.c
index 57941fb4a535..db6b995afe86 100644
--- a/drivers/iio/pressure/rohm-bm1390.c
+++ b/drivers/iio/pressure/rohm-bm1390.c
@@ -267,7 +267,7 @@ static int bm1390_read_data(struct bm1390_data *data,
guard(mutex)(&data->mutex);
/*
* We use 'continuous mode' even for raw read because according to the
- * data-sheet an one-shot mode can't be used with IIR filter.
+ * data-sheet a one-shot mode can't be used with IIR filter.
*/
ret = bm1390_meas_set(data, BM1390_MEAS_MODE_CONTINUOUS);
if (ret)
diff --git a/drivers/iio/test/iio-test-rescale.c b/drivers/iio/test/iio-test-rescale.c
index bcd4a607be19..de4a09f432c0 100644
--- a/drivers/iio/test/iio-test-rescale.c
+++ b/drivers/iio/test/iio-test-rescale.c
@@ -587,7 +587,7 @@ KUNIT_ARRAY_PARAM(iio_rescale_offset, offset_cases, case_to_desc);
* @str: The string to parse
* @nano: The number as an integer
*
- * Returns 0 on success, or a negative error code if the string cound not be
+ * Returns 0 on success, or a negative error code if the string could not be
* parsed.
*/
static int iio_str_to_nano(const char *str, s64 *nano)
@@ -617,7 +617,7 @@ static int iio_str_to_nano(const char *str, s64 *nano)
* @real_str: The real value as a string
* @exp_str: The expected value as a string
*
- * Returns a negative error code if the strings cound not be parsed, or the
+ * Returns a negative error code if the strings could not be parsed, or the
* relative error in parts-per-million.
*/
static int iio_test_relative_error_ppm(const char *real_str, const char *exp_str)
--
2.48.1