iio: fix typos in comments
Subsystems (4)
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.
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 5 lines · On Fri, 4 Sep 2026 17:46:25 +0530 Hemanth Selam <[email protected]>…
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/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
Signed-off-by Hemanth Selam <[email protected]>---
Signature · 2 lines
Kind regards, Joshua Crofts
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.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5FYI, 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
Signed-off-by Hemanth Selam <[email protected]>---
Reviewed-by Joshua Crofts <[email protected]>
Applied.