Skip to contentSkip to conversation

iio: fix typos in comments

PATCH Applied Hemanth Selam 3 participants 3 messages Sep 4 – Sep 5

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: fix typos in comments

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
---
 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(-)
drivers/iio/dac/ad8460.c +1 -1
index a2292810e4cf..469294fd1783 100644
@@ -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).
 	 */
 
drivers/iio/dummy/iio_simple_dummy.c +1 -1
index 19fcdbbc11c6..28ae1e7b593d 100644
@@ -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),
drivers/iio/light/ltr501.c +2 -2
index fa0d16890c8b..52125fd52f75 100644
@@ -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;
 
drivers/iio/pressure/rohm-bm1390.c +1 -1
index 57941fb4a535..db6b995afe86 100644
@@ -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)
drivers/iio/test/iio-test-rescale.c +2 -2
index bcd4a607be19..de4a09f432c0 100644
@@ -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)
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Fri, 4 Sep 2026 17:46:25 +0530 Hemanth Selam <[email protected]>…

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

FYI, the process now is to just add 'Assisted-by: LLM' as to prevent free advertising in commit messages.

Quoted 2 lines

---

Signature · 2 lines
Kind regards,
Joshua Crofts
maintainer Applied
#2 lore raw
Quoted 11 lines · On Fri, 4 Sep 2026 17:22:31 +0200 Joshua Crofts <[email protected]>…
Quoted 5 lines · On Fri, 4 Sep 2026 17:46:25 +0530 Hemanth Selam <[email protected]>…

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

FYI, the process now is to just add 'Assisted-by: LLM' as to prevent free advertising in commit messages.

I'd missed that. Thanks for the heads up. I tweaked it.

Quoted 6 lines
Quoted 3 lines

---

Applied.