* [PATCH] iio: fix typos in comments
@ 2026-09-04 12:16 Hemanth Selam
2026-09-04 15:22 ` Joshua Crofts
0 siblings, 1 reply; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:16 UTC (permalink / raw)
To: Nuno Sá, Michael Hennerich, Mariel Tinaco, Jonathan Cameron,
David Lechner, Andy Shevchenko, Matti Vaittinen
Cc: linux-kernel, linux, linux-iio
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@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] iio: fix typos in comments
2026-09-04 12:16 [PATCH] iio: fix typos in comments Hemanth Selam
@ 2026-09-04 15:22 ` Joshua Crofts
2026-09-05 1:50 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Crofts @ 2026-09-04 15:22 UTC (permalink / raw)
To: Hemanth Selam
Cc: Nuno Sá, Michael Hennerich, Mariel Tinaco, Jonathan Cameron,
David Lechner, Andy Shevchenko, Matti Vaittinen, linux-kernel,
linux, linux-iio
On Fri, 4 Sep 2026 17:46:25 +0530
Hemanth Selam <hemanth.selam@gmail.com> wrote:
> 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.
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
--
Kind regards,
Joshua Crofts
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: fix typos in comments
2026-09-04 15:22 ` Joshua Crofts
@ 2026-09-05 1:50 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2026-09-05 1:50 UTC (permalink / raw)
To: Joshua Crofts
Cc: Hemanth Selam, Nuno Sá, Michael Hennerich, Mariel Tinaco,
David Lechner, Andy Shevchenko, Matti Vaittinen, linux-kernel,
linux, linux-iio
On Fri, 4 Sep 2026 17:22:31 +0200
Joshua Crofts <joshua.crofts1@gmail.com> wrote:
> On Fri, 4 Sep 2026 17:46:25 +0530
> Hemanth Selam <hemanth.selam@gmail.com> wrote:
>
> > 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.
>
> > Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> > ---
>
> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-05 1:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 12:16 [PATCH] iio: fix typos in comments Hemanth Selam
2026-09-04 15:22 ` Joshua Crofts
2026-09-05 1:50 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox