]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: pressure: fix spelling mistakes in comments
authorShi Hao <i.shihao.999@gmail.com>
Mon, 16 Mar 2026 09:00:14 +0000 (14:30 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2026 19:16:08 +0000 (19:16 +0000)
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>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/bmp280-spi.c
drivers/iio/pressure/hsc030pa.c
drivers/iio/pressure/rohm-bm1390.c
drivers/iio/pressure/zpa2326.c

index 3b90384f17d735777d4aaefbaca085aa0ed20db4..04bf2f5be5b11d91f0815b20aa02d3114b080965 100644 (file)
@@ -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.
         */
index 2d00c0656259ec8ee809b03a4e25fbca21f551d2..d6b18a84f0ab8d98d4bca001a2c5a10885e65d11 100644 (file)
@@ -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
index dac27fd359ad1b25927d8175be2306ad3784aeeb..08146ca0f91d300ab3d65f19686dba0bce3e02c0 100644 (file)
@@ -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.
         */
index 4923a558a26a395839280d60928f32b3ba942855..2c68fdf2744eb7e23f3da233ca98121f3b67b46d 100644 (file)
@@ -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);