[PATCH] iio: adc: fix spelling in comments

Shi Hao posted 1 patch 1 month ago
drivers/iio/adc/at91_adc.c      | 2 +-
drivers/iio/adc/max1363.c       | 2 +-
drivers/iio/adc/men_z188_adc.c  | 2 +-
drivers/iio/adc/twl6030-gpadc.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
[PATCH] iio: adc: fix spelling in comments
Posted by Shi Hao 1 month ago
Fix incorrect spellings in comments.

- informations -> information
- specifc -> specific
- avalable -> available
- Digial -> Digital
---
 drivers/iio/adc/at91_adc.c      | 2 +-
 drivers/iio/adc/max1363.c       | 2 +-
 drivers/iio/adc/men_z188_adc.c  | 2 +-
 drivers/iio/adc/twl6030-gpadc.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 920dd9ffd27a..219245106795 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -171,7 +171,7 @@ struct at91_adc_trigger {
 };

 /**
- * struct at91_adc_reg_desc - Various informations relative to registers
+ * struct at91_adc_reg_desc - Various information relative to registers
  * @channel_base:	Base offset for the channel data registers
  * @drdy_mask:		Mask of the DRDY field in the relevant registers
  *			(Interruptions registers mostly)
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index 9dd547e62b6c..d35f4487b2f9 100644
--- a/drivers/iio/adc/max1363.c
+++ b/drivers/iio/adc/max1363.c
@@ -121,7 +121,7 @@ enum max1363_modes {
 };

 /**
- * struct max1363_chip_info - chip specifc information
+ * struct max1363_chip_info - chip specific information
  * @info:		iio core function callbacks structure
  * @channels:		channel specification
  * @num_channels:       number of channels
diff --git a/drivers/iio/adc/men_z188_adc.c b/drivers/iio/adc/men_z188_adc.c
index 90919d282e7b..5bd334ec5655 100644
--- a/drivers/iio/adc/men_z188_adc.c
+++ b/drivers/iio/adc/men_z188_adc.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * MEN 16z188 Analog to Digial Converter
+ * MEN 16z188 Analog to Digital Converter
  *
  * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
  * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
diff --git a/drivers/iio/adc/twl6030-gpadc.c b/drivers/iio/adc/twl6030-gpadc.c
index 3ac774ebf678..7810d6b2b668 100644
--- a/drivers/iio/adc/twl6030-gpadc.c
+++ b/drivers/iio/adc/twl6030-gpadc.c
@@ -416,7 +416,7 @@ static u8 twl6032_channel_to_reg(int channel)
 {
	/*
	 * for any prior chosen channel, when the conversion is ready
-	 * the result is avalable in GPCH0_LSB, GPCH0_MSB.
+	 * the result is available in GPCH0_LSB, GPCH0_MSB.
	 */

	return TWL6032_GPADC_GPCH0_LSB;
--
2.51.0
Re: [PATCH] iio: adc: fix spelling in comments
Posted by Andy Shevchenko 1 month ago
On Fri, Mar 06, 2026 at 11:51:07AM +0530, Shi Hao wrote:
> Fix incorrect spellings in comments.
> 
> - informations -> information
> - specifc -> specific
> - avalable -> available
> - Digial -> Digital

Only 4 typos?

Can you run `codespell` against each of the subfolders and create the
respective patch series?

-- 
With Best Regards,
Andy Shevchenko
Re: [PATCH] iio: adc: fix spelling in comments
Posted by Andy Shevchenko 1 month ago
On Fri, Mar 06, 2026 at 11:51:07AM +0530, Shi Hao wrote:
> Fix incorrect spellings in comments.
> 
> - informations -> information
> - specifc -> specific
> - avalable -> available
> - Digial -> Digital

Also this misses necessary tags. Please, take your time to study Submitting
Patches documentation.

-- 
With Best Regards,
Andy Shevchenko