Skip to contentSkip to conversation

iio/adc: Fix comment typo

PATCH In review [email protected] 2 participants 2 messages Jul 12, 2023 – Jul 15, 2023 1 message not in the archive IIO

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 iio/adc: Fix comment typo

Delete duplicate word "the"

---
 drivers/iio/adc/palmas_gpadc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/palmas_gpadc.c +0 -0
index 27b2632c1037..76e0a4d8af3b 100644
@@ -458,7 +458,7 @@ static int palmas_gpadc_get_calibrated_code(struct palmas_gpadc *adc,
  *
  * The gain error include both gain error, as specified in the 

datasheet, and
* the gain error drift. These paramenters vary depending on device and
whether
- * the the channel is calibrated (trimmed) or not.
+ * the channel is calibrated (trimmed) or not.
*/
static int palmas_gpadc_threshold_with_tolerance(int val, const int
INL,
const int gain_error,

maintainer
#2 lore raw
Quoted 3 lines · On Wed, 12 Jul 2023 18:00:25 +0800 [email protected] wrote:

Delete duplicate word "the"

Please resend without the Fwd: prefix on the email. That stops the b4 tool from picking this up automatically.

Thanks,

Jonathan

Quoted 22 lines
---
  drivers/iio/adc/palmas_gpadc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/palmas_gpadc.c +0 -0
index 27b2632c1037..76e0a4d8af3b 100644
@@ -458,7 +458,7 @@ static int palmas_gpadc_get_calibrated_code(struct 
 palmas_gpadc *adc,
   *
   * The gain error include both gain error, as specified in the 

datasheet, and
* the gain error drift. These paramenters vary depending on device and
whether
- * the the channel is calibrated (trimmed) or not.
+ * the channel is calibrated (trimmed) or not.
*/
static int palmas_gpadc_threshold_with_tolerance(int val, const int
INL,
const int gain_error,