projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da980f
)
iio: adc: palmas_gpadc: Drop duplicated the in comment.
author
Andy Shen Shen
<shengaoya@inspur.com>
Thu, 21 Sep 2023 03:14:44 +0000
(11:14 +0800)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sat, 23 Sep 2023 17:38:18 +0000
(18:38 +0100)
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>
drivers/iio/adc/palmas_gpadc.c
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/palmas_gpadc.c
b/drivers/iio/adc/palmas_gpadc.c
index e202ea18af1008db69d65e27f2088790e6b13f93..203cbbc707198e4f254244f2bd1d79f8f99f9a0b 100644
(file)
--- 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,