summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shen Shen <shengaoya@inspur.com>2023-09-21 11:14:44 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-23 18:38:18 +0100
commit57d3909596f9941c7d0777004994438df1b5ba0a (patch)
tree12e36e5f0182bf0f9898fa451a842e346bf0b761
parent2da980fd5dcb5345a1c072fd29a04130631913c0 (diff)
iio: adc: palmas_gpadc: Drop duplicated the in comment.
In line 460 of the palmas_gpadc.c file, fix kernel comment errors. Signed-off-by: Andy Shen Shen <shengaoya@inspur.com> Link: https://lore.kernel.org/r/20230921031444.63594-1-shengaoya@inspur.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/palmas_gpadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
index e202ea18af10..203cbbc70719 100644
--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -457,7 +457,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,