summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorAndy Shen Shen <shengaoya@inspur.com>2023-09-21 05:14:44 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-23 19:38:18 +0200
commit57d3909596f9941c7d0777004994438df1b5ba0a (patch)
tree12e36e5f0182bf0f9898fa451a842e346bf0b761 /drivers/iio
parentdt-bindings: iio: adc: ti,ads1015: Document optional interrupt line (diff)
downloadlinux-57d3909596f9941c7d0777004994438df1b5ba0a.tar.xz
linux-57d3909596f9941c7d0777004994438df1b5ba0a.zip
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>
Diffstat (limited to 'drivers/iio')
-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,