Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: light: fix several incorrect spellings

Fix spelling mistakes reported by codespell.

- sesnor -> sensor
- substraction -> subtraction
- simulataneous -> simultaneous
- proccessed -> processed
- coefficents -> coefficients

Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Shi Hao and committed by
Jonathan Cameron
0dcaf3db db0da4b7

+5 -5
+1 -1
drivers/iio/light/Kconfig
··· 359 359 select IIO_KFIFO_BUF 360 360 help 361 361 Enable support for the ROHM BU27034 ambient light sensor. ROHM BU27034 362 - is an ambient light sesnor with 3 channels and 3 photo diodes capable 362 + is an ambient light sensor with 3 channels and 3 photo diodes capable 363 363 of detecting a very wide range of illuminance. 364 364 Typical application is adjusting LCD and backlight power of TVs and 365 365 mobile phones.
+1 -1
drivers/iio/light/apds9160.c
··· 620 620 621 621 /* 622 622 * The PS intelligent cancellation level register allows 623 - * for an on-chip substraction of the ADC count caused by 623 + * for an on-chip subtraction of the ADC count caused by 624 624 * unwanted reflected light from PS ADC output. 625 625 */ 626 626 static int apds9160_set_ps_cancellation_level(struct apds9160_chip *data,
+1 -1
drivers/iio/light/ltr390.c
··· 101 101 struct ltr390_data { 102 102 struct regmap *regmap; 103 103 struct i2c_client *client; 104 - /* Protects device from simulataneous reads */ 104 + /* Protects device from simultaneous reads */ 105 105 struct mutex lock; 106 106 enum ltr390_mode mode; 107 107 int gain;
+1 -1
drivers/iio/light/opt3001.c
··· 91 91 */ 92 92 int factor_integer; 93 93 /* 94 - * Factor used to align decimal part of proccessed value to six decimal 94 + * Factor used to align decimal part of processed value to six decimal 95 95 * places. 96 96 */ 97 97 int factor_decimal;
+1 -1
drivers/iio/light/tsl2772.c
··· 190 190 }; 191 191 192 192 /* 193 - * Different devices require different coefficents, and these numbers were 193 + * Different devices require different coefficients, and these numbers were 194 194 * derived from the 'Lux Equation' section of the various device datasheets. 195 195 * All of these coefficients assume a Glass Attenuation (GA) factor of 1. 196 196 * The coefficients are multiplied by 1000 to avoid floating point operations.