summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ti-ads1298.c
diff options
context:
space:
mode:
authorYu Jiaoliang <yujiaoliang@vivo.com>2024-09-26 05:43:54 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-05 13:09:15 +0200
commit0b0c0049507e554865adb4289e2d1945736fe577 (patch)
tree9dcf5badf7a922a9e0b4ef75966dd72a6fcb78ab /drivers/iio/adc/ti-ads1298.c
parentiio: light: ltrf216a: Document device name for compatible (diff)
downloadlinux-0b0c0049507e554865adb4289e2d1945736fe577.tar.xz
linux-0b0c0049507e554865adb4289e2d1945736fe577.zip
iio: adc: Fix typos in comments across various files
This commit fixes several typographical errors in comments within the drivers/iio/adc directory. No functional changes are made. Detected using codespell. Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com> Link: https://patch.msgid.link/20240926034411.3482986-1-yujiaoliang@vivo.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ti-ads1298.c')
-rw-r--r--drivers/iio/adc/ti-ads1298.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-ads1298.c b/drivers/iio/adc/ti-ads1298.c
index 13cb32125eef..a6432ef1fa90 100644
--- a/drivers/iio/adc/ti-ads1298.c
+++ b/drivers/iio/adc/ti-ads1298.c
@@ -294,7 +294,7 @@ static int ads1298_get_scale(struct ads1298_private *priv,
if (ret)
return ret;
- /* Refererence in millivolts */
+ /* Reference in millivolts */
*val = regval & ADS1298_MASK_CONFIG3_VREF_4V ? 4000 : 2400;
}