public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shi Hao <i.shihao.999@gmail.com>
To: andriy.shevchenko@intel.com
Cc: andy@kernel.org, dlechner@baylibre.com, jic23@kernel.org,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	marcelo.schmitt@analog.com, mazziesaccount@gmail.com,
	nuno.sa@analog.com, i.shihao.999@gmail.com
Subject: [PATCH v2 4/6] iio: cdc: fix spelling mistakes in comments
Date: Sat,  7 Mar 2026 16:17:03 +0530	[thread overview]
Message-ID: <20260307104705.49129-5-i.shihao.999@gmail.com> (raw)
In-Reply-To: <20260307104705.49129-1-i.shihao.999@gmail.com>

fix incorrect spelling in comments

- becaue -> because
- reenable -> re-enable

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..274fb143dedb 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 irq's 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

  parent reply	other threads:[~2026-03-07 10:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07 10:46 [PATCH v2 0/6] iio: fix spelling mistakes in comments Shi Hao
2026-03-07 10:47 ` [PATCH v2 1/6] iio: accel: " Shi Hao
2026-03-07 17:24   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 2/6] iio: adc: " Shi Hao
2026-03-07 17:29   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 3/6] iio: amplifiers: fix spelling mistake in comment Shi Hao
2026-03-07 17:29   ` Jonathan Cameron
2026-03-07 10:47 ` Shi Hao [this message]
2026-03-08 20:22   ` [PATCH v2 4/6] iio: cdc: fix spelling mistakes in comments Andy Shevchenko
2026-03-07 10:47 ` [PATCH v2 5/6] iio: chemical: fix spelling mistake in comment Shi Hao
2026-03-07 17:30   ` Jonathan Cameron
2026-03-07 10:47 ` [PATCH v2 6/6] iio: common: fix spelling mistakes in comments Shi Hao
2026-03-07 17:32   ` Jonathan Cameron
2026-03-10  9:14 ` [PATCH v2 0/6] iio: " Matti Vaittinen

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=20260307104705.49129-5-i.shihao.999@gmail.com \
    --to=i.shihao.999@gmail.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --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 \
    /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