From: Shi Hao <i.shihao.999@gmail.com>
To: andriy.shevchenko@intel.com
Cc: andy@kernel.org, dlechner@baylibre.com, i.shihao.999@gmail.com,
jic23@kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org, marcelo.schmitt@analog.com,
nuno.sa@analog.com, mazziesaccount@gmail.com,
daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com
Subject: [PATCH v4 4/6] iio: cdc: fix spelling mistakes in comments
Date: Wed, 11 Mar 2026 15:09:31 +0530 [thread overview]
Message-ID: <20260311093933.21333-5-i.shihao.999@gmail.com> (raw)
In-Reply-To: <20260311093933.21333-1-i.shihao.999@gmail.com>
Fix incorrect spelling in comments
- becaue -> because
- reenable -> re-enable
- irq's -> IRQs
Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
---
drivers/iio/cdc/ad7150.c | 2 +-
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;
--
2.53.0
next prev parent reply other threads:[~2026-03-11 9:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 9:39 [PATCH v4 0/6] iio: " Shi Hao
2026-03-11 9:39 ` [PATCH v4 1/6] iio: accel: fix typo celcius to Celsius Shi Hao
2026-03-11 9:39 ` [PATCH v4 2/6] iio: adc: fix spelling mistakes in comments Shi Hao
2026-03-11 9:39 ` [PATCH v4 3/6] iio: amplifiers: fix typo Curren to Current Shi Hao
2026-03-11 9:39 ` Shi Hao [this message]
2026-03-11 9:39 ` [PATCH v4 5/6] iio: chemical: rephrase sentence and fix typo in comment Shi Hao
2026-03-11 9:39 ` [PATCH v4 6/6] iio: common: fix spelling mistakes in comments Shi Hao
2026-03-11 10:10 ` [PATCH v4 0/6] iio: " Dhruva Gole
2026-03-15 12:44 ` ShiHao
2026-03-15 18:05 ` Jonathan Cameron
2026-03-15 13:07 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260311093933.21333-5-i.shihao.999@gmail.com \
--to=i.shihao.999@gmail.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=d-gole@ti.com \
--cc=daniel.baluta@nxp.com \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.schmitt@analog.com \
--cc=mazziesaccount@gmail.com \
--cc=nuno.sa@analog.com \
--cc=simona.toaca@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®