Skip to contentSkip to conversation

iio: backend: fix typos in comments

PATCH Applied Anas Khan 4 participants 4 messages Jul 2

Subsystems (2)
lore
Share & tools
lore

Anas Khan

author
#0 lore raw

PATCH 1/1 iio: backend: fix typos in comments

Fix several comment typos in industrialio-backend.c: correct "through" in a channel-spec comment, "initiates a process" in the activation comment, and drop a stray apostrophe from "Gets" in two getter kerneldoc comments.

---
 drivers/iio/industrialio-backend.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/iio/industrialio-backend.c +4 -4
index 4763e224ebc6..f7a4be8ec320 100644
@@ -649,7 +649,7 @@ EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_get, "IIO_BACKEND");
  * @len: Buffer length
  *
  * This helper is intended to be used by backends that extend an IIO channel
- * (trough iio_backend_extend_chan_spec()) with extended info. In that case,
+ * (through iio_backend_extend_chan_spec()) with extended info. In that case,
  * backends are not supposed to give their own callbacks (as they would not have
  * a way to get the backend from indio_dev). This is the setter.
  *
@@ -851,7 +851,7 @@ EXPORT_SYMBOL_NS_GPL(iio_backend_filter_type_set, "IIO_BACKEND");
  * @back: Backend device
  * @timeout_us: Timeout value in us.
  *
- * When activated, it initates a proccess that aligns the sample's most
+ * When activated, it initiates a process that aligns the sample's most
  * significant bit (MSB) based solely on the captured data, without
  * considering any other external signals.
  *
@@ -1017,7 +1017,7 @@ static struct iio_backend *__devm_iio_backend_fwnode_get(struct device *dev, con
  * @dev: Consumer device for the backend
  * @name: Backend name
  *
- * Get's the backend associated with @dev.
+ * Gets the backend associated with @dev.
  *
  * RETURNS:
  * A backend pointer, negative error pointer otherwise.
@@ -1050,7 +1050,7 @@ EXPORT_SYMBOL_NS_GPL(devm_iio_backend_get_by_index, "IIO_BACKEND");
  * @name: Backend name
  * @fwnode: Firmware node of the backend consumer
  *
- * Get's the backend associated with a firmware node.
+ * Gets the backend associated with a firmware node.
  *
  * RETURNS:
  * A backend pointer, negative error pointer otherwise.
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Anas Khan

Fix several comment typos in industrialio-backend.c: correct "through" in a channel-spec comment, "initiates a process" in the activation comment, and drop a stray apostrophe from "Gets" in two getter kerneldoc comments.

Makes sense.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Applied
#2 lore raw
Quoted 9 lines · On Thu, 2 Jul 2026 14:06:03 +0300 Andy Shevchenko…
Quoted 4 lines · Anas Khan

Fix several comment typos in industrialio-backend.c: correct "through" in a channel-spec comment, "initiates a process" in the activation comment, and drop a stray apostrophe from "Gets" in two getter kerneldoc comments.

Makes sense.

Applied.

Thanks,

J

Reviewed-by on v1 1/1
#3 lore raw
In reply to Anas Khan
Quoted 7 lines · Anas Khan

Fix several comment typos in industrialio-backend.c: correct "through" in a channel-spec comment, "initiates a process" in the activation comment, and drop a stray apostrophe from "Gets" in two getter kerneldoc comments.

---

Quoted 46 lines
 drivers/iio/industrialio-backend.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/iio/industrialio-backend.c +4 -4
index 4763e224ebc6..f7a4be8ec320 100644
@@ -649,7 +649,7 @@ EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_get, "IIO_BACKEND");
  * @len: Buffer length
  *
  * This helper is intended to be used by backends that extend an IIO channel
- * (trough iio_backend_extend_chan_spec()) with extended info. In that case,
+ * (through iio_backend_extend_chan_spec()) with extended info. In that case,
  * backends are not supposed to give their own callbacks (as they would not have
  * a way to get the backend from indio_dev). This is the setter.
  *
@@ -851,7 +851,7 @@ EXPORT_SYMBOL_NS_GPL(iio_backend_filter_type_set, "IIO_BACKEND");
  * @back: Backend device
  * @timeout_us: Timeout value in us.
  *
- * When activated, it initates a proccess that aligns the sample's most
+ * When activated, it initiates a process that aligns the sample's most
  * significant bit (MSB) based solely on the captured data, without
  * considering any other external signals.
  *
@@ -1017,7 +1017,7 @@ static struct iio_backend *__devm_iio_backend_fwnode_get(struct device *dev, con
  * @dev: Consumer device for the backend
  * @name: Backend name
  *
- * Get's the backend associated with @dev.
+ * Gets the backend associated with @dev.
  *
  * RETURNS:
  * A backend pointer, negative error pointer otherwise.
@@ -1050,7 +1050,7 @@ EXPORT_SYMBOL_NS_GPL(devm_iio_backend_get_by_index, "IIO_BACKEND");
  * @name: Backend name
  * @fwnode: Firmware node of the backend consumer
  *
- * Get's the backend associated with a firmware node.
+ * Gets the backend associated with a firmware node.
  *
  * RETURNS:
  * A backend pointer, negative error pointer otherwise.
Signature · 1 line
2.54.0