[PATCH v5 06/14] iio: pressure: fix spelling mistakes in comments

Shi Hao posted 14 patches 3 weeks ago
[PATCH v5 06/14] iio: pressure: fix spelling mistakes in comments
Posted by Shi Hao 3 weeks ago
Fix several spelling mistakes in comments.

- opertion -> operations
- transfered -> transferred
- usng -> using
- externaly -> externally

Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
---
 drivers/iio/pressure/bmp280-spi.c  | 2 +-
 drivers/iio/pressure/hsc030pa.c    | 2 +-
 drivers/iio/pressure/rohm-bm1390.c | 2 +-
 drivers/iio/pressure/zpa2326.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/iio/pressure/bmp280-spi.c b/drivers/iio/pressure/bmp280-spi.c
index 3b90384f17d7..04bf2f5be5b1 100644
--- a/drivers/iio/pressure/bmp280-spi.c
+++ b/drivers/iio/pressure/bmp280-spi.c
@@ -47,7 +47,7 @@ static int bmp380_regmap_spi_read(void *context, const void *reg,
		return -EINVAL;

	/*
-	 * According to the BMP3xx datasheets, for a basic SPI read opertion,
+	 * According to the BMP3xx datasheets, for a basic SPI read operation,
	 * the first byte needs to be dropped and the rest are the requested
	 * data.
	 */
diff --git a/drivers/iio/pressure/hsc030pa.c b/drivers/iio/pressure/hsc030pa.c
index 2d00c0656259..d6b18a84f0ab 100644
--- a/drivers/iio/pressure/hsc030pa.c
+++ b/drivers/iio/pressure/hsc030pa.c
@@ -273,7 +273,7 @@ static const struct hsc_range_config hsc_range_config[HSC_VARIANTS_MAX] = {
  * @data: structure containing instantiated sensor data
  * Return: true only if both status bits are zero
  *
- * the two MSB from the first transfered byte contain a status code
+ * The two MSB from the first transferred byte contain a status code
  *   00 - normal operation, valid data
  *   01 - device in factory programming mode
  *   10 - stale data
diff --git a/drivers/iio/pressure/rohm-bm1390.c b/drivers/iio/pressure/rohm-bm1390.c
index dac27fd359ad..08146ca0f91d 100644
--- a/drivers/iio/pressure/rohm-bm1390.c
+++ b/drivers/iio/pressure/rohm-bm1390.c
@@ -440,7 +440,7 @@ static int bm1390_fifo_flush(struct iio_dev *idev, unsigned int samples)
	 * the timestamps. If we are ran from IRQ, then the
	 * IRQF_ONESHOT has us covered - but if we are ran by the
	 * user-space read we need to disable the IRQ to be on a safe
-	 * side. We do this usng synchronous disable so that if the
+	 * side. We do this using synchronous disable so that if the
	 * IRQ thread is being ran on other CPU we wait for it to be
	 * finished.
	 */
diff --git a/drivers/iio/pressure/zpa2326.c b/drivers/iio/pressure/zpa2326.c
index 4923a558a26a..2c68fdf2744e 100644
--- a/drivers/iio/pressure/zpa2326.c
+++ b/drivers/iio/pressure/zpa2326.c
@@ -840,7 +840,7 @@ static irqreturn_t zpa2326_handle_threaded_irq(int irq, void *data)

 complete:
	/*
-	 * Wake up direct or externaly triggered buffer mode waiters: see
+	 * Wake up direct or externally triggered buffer mode waiters: see
	 * zpa2326_sample_oneshot() and zpa2326_trigger_handler().
	 */
	complete(&priv->data_ready);
--
2.53.0
Re: [PATCH v5 06/14] iio: pressure: fix spelling mistakes in comments
Posted by Jonathan Cameron 2 weeks, 2 days ago
On Mon, 16 Mar 2026 14:30:14 +0530
Shi Hao <i.shihao.999@gmail.com> wrote:

> Fix several spelling mistakes in comments.
> 
> - opertion -> operations
> - transfered -> transferred
> - usng -> using
> - externaly -> externally
> 
> Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Applied.  Note that all these had to be done by hand. 
I haven't taken the time to figure out why.
Re: [PATCH v5 06/14] iio: pressure: fix spelling mistakes in comments
Posted by Matti Vaittinen 2 weeks, 6 days ago
On 16/03/2026 11:00, Shi Hao wrote:
> Fix several spelling mistakes in comments.
> 
> - opertion -> operations
> - transfered -> transferred
> - usng -> using
> - externaly -> externally
> 
> Signed-off-by: Shi Hao <i.shihao.999@gmail.com>

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>

---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~