mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shi Hao <i.shihao.999@gmail.com>
To: jic23@kernel.org
Cc: andriy.shevchenko@intel.com, andy@kernel.org,
	dlechner@baylibre.com, i.shihao.999@gmail.com,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	marcelo.schmitt@analog.com, mazziesaccount@gmail.com,
	nuno.sa@analog.com
Subject: [PATCH v3 4/6] iio: cdc: fix spelling mistakes in comments
Date: Mon,  9 Mar 2026 16:15:11 +0530	[thread overview]
Message-ID: <20260309104513.40359-5-i.shihao.999@gmail.com> (raw)
In-Reply-To: <20260309104513.40359-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..eaa65c4c026a 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 while 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-09 10:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09 10:45 [PATCH v3 0/6] iio: " Shi Hao
2026-03-09 10:45 ` [PATCH v3 1/6] iio: accel: fix typo celcius to Celsius Shi Hao
2026-03-09 10:45 ` [PATCH v3 2/6] iio: adc: fix spelling mistakes in comments Shi Hao
2026-03-09 11:52   ` Andy Shevchenko
2026-03-09 10:45 ` [PATCH v3 3/6] iio: amplifiers: fix typo Curren to Current Shi Hao
2026-03-09 11:44   ` Andy Shevchenko
2026-03-09 10:45 ` Shi Hao [this message]
2026-03-09 11:43   ` [PATCH v3 4/6] iio: cdc: fix spelling mistakes in comments Andy Shevchenko
2026-03-09 19:32     ` Jonathan Cameron
2026-03-09 10:45 ` [PATCH v3 5/6] iio: chemical: fix typo insuffient to insufficient Shi Hao
2026-03-09 11:42   ` Andy Shevchenko
2026-03-09 10:45 ` [PATCH v3 6/6] iio: common: fix spelling mistakes in comments Shi Hao
2026-03-09 11:40   ` Andy Shevchenko

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=20260309104513.40359-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

all inboxes | Powered by JetHome®