summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-24 16:32:19 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-15 17:41:53 -0800
commit897ce78bddb26557a686ab9e756fcf3d6c121271 (patch)
treeedde864d756a6e1133808118b8ae90c323ed4ade /driver
parent64b57efebdb311126f3daaa97d49443308507b76 (diff)
downloadchrome-ec-897ce78bddb26557a686ab9e756fcf3d6c121271.tar.gz
Fix various misspellings in comments
No functional changes. BUG=none BRANCH=none TEST=make buildall passes Change-Id: Ie852feb8e3951975d99dce5a49c17f5f0e8bc791 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403417 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/accelgyro_bmi160.c2
-rw-r--r--driver/charger/bq24725.c2
-rw-r--r--driver/charger/bq24735.c2
-rw-r--r--driver/charger/bq24738.c2
-rw-r--r--driver/pmu_tps65090_charger.c6
-rw-r--r--driver/temp_sensor/tmp006.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/driver/accelgyro_bmi160.c b/driver/accelgyro_bmi160.c
index da94b301eb..589206414e 100644
--- a/driver/accelgyro_bmi160.c
+++ b/driver/accelgyro_bmi160.c
@@ -809,7 +809,7 @@ static int config_interrupt(const struct motion_sensor_t *s)
BMI160_INT2_INPUT_EN | BMI160_LATCH_5MS);
#endif
- /* configure int1 as an interupt */
+ /* configure int1 as an interrupt */
ret = raw_write8(s->port, s->addr, BMI160_INT_OUT_CTRL,
BMI160_INT_CTRL(1, OUTPUT_EN));
diff --git a/driver/charger/bq24725.c b/driver/charger/bq24725.c
index 794d4f9a02..3b88207046 100644
--- a/driver/charger/bq24725.c
+++ b/driver/charger/bq24725.c
@@ -19,7 +19,7 @@
#define REG_TO_CURRENT(REG, RS) ((REG) * DEFAULT_SENSE_RESISTOR / (RS))
#define CURRENT_TO_REG(CUR, RS) ((CUR) * (RS) / DEFAULT_SENSE_RESISTOR)
-/* Charger infomation
+/* Charger information
* charge voltage bitmask: 0111 1111 1111 0000
* charge current bitmask: 0001 1111 1000 0000
* input current bitmask : 0000 0000 1000 0000
diff --git a/driver/charger/bq24735.c b/driver/charger/bq24735.c
index 24a71c1deb..4279397330 100644
--- a/driver/charger/bq24735.c
+++ b/driver/charger/bq24735.c
@@ -20,7 +20,7 @@
#define REG_TO_CURRENT(REG, RS) ((REG) * DEFAULT_SENSE_RESISTOR / (RS))
#define CURRENT_TO_REG(CUR, RS) ((CUR) * (RS) / DEFAULT_SENSE_RESISTOR)
-/* Charger infomation
+/* Charger information
* charge voltage bitmask: 0111 1111 1111 0000
* charge current bitmask: 0001 1111 1000 0000
* input current bitmask : 0000 0000 1000 0000
diff --git a/driver/charger/bq24738.c b/driver/charger/bq24738.c
index 752b8b0457..594257f833 100644
--- a/driver/charger/bq24738.c
+++ b/driver/charger/bq24738.c
@@ -19,7 +19,7 @@
#define REG_TO_CURRENT(REG, RS) ((REG) * DEFAULT_SENSE_RESISTOR / (RS))
#define CURRENT_TO_REG(CUR, RS) ((CUR) * (RS) / DEFAULT_SENSE_RESISTOR)
-/* Charger infomation
+/* Charger information
* charge voltage bitmask: 0111 1111 1111 0000
* charge current bitmask: 0001 1111 1100 0000
* input current bitmask : 0000 0000 1000 0000
diff --git a/driver/pmu_tps65090_charger.c b/driver/pmu_tps65090_charger.c
index 6e56ef98ff..695b8a4897 100644
--- a/driver/pmu_tps65090_charger.c
+++ b/driver/pmu_tps65090_charger.c
@@ -205,7 +205,7 @@ static int calc_next_state(int state)
case ST_IDLE0:
case ST_BAD_COND:
case ST_IDLE:
- /* Check AC and chiset state */
+ /* Check AC and chipset state */
if (!extpower_is_present()) {
if (chipset_in_state(CHIPSET_STATE_ON))
return ST_DISCHARGING;
@@ -429,8 +429,8 @@ void charger_task(void)
#endif
/*
* When battery is extremely low, the internal voltage can not
- * power on its gas guage IC. Charging loop will enable the
- * charger and turn on trickle charging. For safty reason,
+ * power on its gas gauge IC. Charging loop will enable the
+ * charger and turn on trickle charging. For safety reason,
* charger should be disabled if the communication to battery
* failed.
*/
diff --git a/driver/temp_sensor/tmp006.c b/driver/temp_sensor/tmp006.c
index 9801963ff5..67b31dfa98 100644
--- a/driver/temp_sensor/tmp006.c
+++ b/driver/temp_sensor/tmp006.c
@@ -173,7 +173,7 @@ static int tmp006_read_die_temp_k(const struct tmp006_data_t *tdata,
}
/*
- * This uses Tdie and Vobj and a bunch of magic parameters to calulate the
+ * This uses Tdie and Vobj and a bunch of magic parameters to calculate the
* object temperature, Tobj.
*/
static int tmp006_read_object_temp_k(struct tmp006_data_t *tdata,