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>
select IIO_KFIFO_BUF
help
Enable support for the ROHM BU27034 ambient light sensor. ROHM BU27034
- is an ambient light sesnor with 3 channels and 3 photo diodes capable
+ is an ambient light sensor with 3 channels and 3 photo diodes capable
of detecting a very wide range of illuminance.
Typical application is adjusting LCD and backlight power of TVs and
mobile phones.
/*
* The PS intelligent cancellation level register allows
- * for an on-chip substraction of the ADC count caused by
+ * for an on-chip subtraction of the ADC count caused by
* unwanted reflected light from PS ADC output.
*/
static int apds9160_set_ps_cancellation_level(struct apds9160_chip *data,
struct ltr390_data {
struct regmap *regmap;
struct i2c_client *client;
- /* Protects device from simulataneous reads */
+ /* Protects device from simultaneous reads */
struct mutex lock;
enum ltr390_mode mode;
int gain;
*/
int factor_integer;
/*
- * Factor used to align decimal part of proccessed value to six decimal
+ * Factor used to align decimal part of processed value to six decimal
* places.
*/
int factor_decimal;
};
/*
- * Different devices require different coefficents, and these numbers were
+ * Different devices require different coefficients, and these numbers were
* derived from the 'Lux Equation' section of the various device datasheets.
* All of these coefficients assume a Glass Attenuation (GA) factor of 1.
* The coefficients are multiplied by 1000 to avoid floating point operations.