]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: cdc: fix spelling mistakes in comments
authorShi Hao <i.shihao.999@gmail.com>
Mon, 16 Mar 2026 09:00:21 +0000 (14:30 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2026 19:29:49 +0000 (19:29 +0000)
Fix spelling mistakes in comments.

- becaue -> because
- reenable -> re-enable
- irq's -> IRQs

Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/cdc/ad7150.c
drivers/iio/cdc/ad7746.c

index 427d32e398b36068188011f8e934a94ca7650b15..8106a6a835617728c1855c079477165f40900490 100644 (file)
@@ -306,7 +306,7 @@ static int ad7150_write_event_config(struct iio_dev *indio_dev,
                                                dir);
                if (ret)
                        goto error_ret;
-               /* reenable any irq's we disabled whilst changing mode */
+               /* re-enable any IRQs we disabled whilst changing mode */
                enable_irq(chip->interrupts[0]);
                enable_irq(chip->interrupts[1]);
        }
index 8a306d55c72a84b8fd14abb12bb4b3aca7d0345b..cb97e3c978d80ab1b8d10955d42437f827c6c608 100644 (file)
@@ -606,7 +606,7 @@ static int ad7746_read_channel(struct iio_dev *indio_dev,
                return ret;
 
        /*
-        * Offset applied internally becaue the _offset userspace interface is
+        * Offset applied internally because the _offset userspace interface is
         * needed for the CAP DACs which apply a controllable offset.
         */
        *val = get_unaligned_be24(data) - 0x800000;