Skip to contentSkip to conversation

iio: adc: fix spelling in comments

PATCH Superseded Shi Hao 2 participants 3 messages Mar 6

Subsystems (2)

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Shi Hao

author
#0 lore raw

PATCH 1/1 iio: adc: fix spelling in comments

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(-)
drivers/iio/adc/at91_adc.c +1 -1
index 920dd9ffd27a..219245106795 100644
@@ -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)
drivers/iio/adc/max1363.c +1 -1
index 9dd547e62b6c..d35f4487b2f9 100644
@@ -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
drivers/iio/adc/men_z188_adc.c +1 -1
index 90919d282e7b..5bd334ec5655 100644
@@ -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 <[email protected]>
drivers/iio/adc/twl6030-gpadc.c +0 -0
index 3ac774ebf678..7810d6b2b668 100644
@@ -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

#1 lore raw
Quoted 6 lines · Shi Hao

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?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
In reply to Shi Hao
Quoted 6 lines · Shi Hao

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.

Signature · 2 lines
With Best Regards,
Andy Shevchenko