diff options
| author | Shi Hao <i.shihao.999@gmail.com> | 2026-03-16 12:00:21 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-21 22:29:49 +0300 |
| commit | 1011a6bd86bc79dcadab04f3326868e62613484a (patch) | |
| tree | 2f2d1741b9d465c47554ba8fcfd487d9a40e2ee7 | |
| parent | 1a18c847c89ce4b301a5870b0feafd931b076005 (diff) | |
| download | linux-1011a6bd86bc79dcadab04f3326868e62613484a.tar.xz | |
iio: cdc: fix spelling mistakes in comments
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>
| -rw-r--r-- | drivers/iio/cdc/ad7150.c | 2 | ||||
| -rw-r--r-- | drivers/iio/cdc/ad7746.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/cdc/ad7150.c b/drivers/iio/cdc/ad7150.c index 427d32e398b3..8106a6a83561 100644 --- a/drivers/iio/cdc/ad7150.c +++ b/drivers/iio/cdc/ad7150.c @@ -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]); } diff --git a/drivers/iio/cdc/ad7746.c b/drivers/iio/cdc/ad7746.c index 8a306d55c72a..cb97e3c978d8 100644 --- a/drivers/iio/cdc/ad7746.c +++ b/drivers/iio/cdc/ad7746.c @@ -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; |
