diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-10-13 12:12:51 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-15 18:08:25 -0700 |
commit | c8844123923f8b65f38a7d16aaac3e9ce774ce2c (patch) | |
tree | e215ab59da20c034075442e468ee64370d30afe6 /driver | |
parent | 811f5482f04bd7173909516ea59a90deda6fc002 (diff) | |
download | chrome-ec-c8844123923f8b65f38a7d16aaac3e9ce774ce2c.tar.gz |
motion: fix spelling
Fix various spelling errors. Command used:
spell include/motion_sense.h | sort | uniq -c | \
grep -v -f ~/tmp/known_words | sort -n > /tmp/checking_spell
Appended /tmp/checking_spell to ~/tmp/known_words to avoid C code.
BRANCH=smaug
TEST=compile
BUG=none
Change-Id: I39acfeaefef51d142a587940bccb02db86e87068
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/305570
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r-- | driver/accelgyro_bmi160.c | 8 | ||||
-rw-r--r-- | driver/mag_bmm150.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/driver/accelgyro_bmi160.c b/driver/accelgyro_bmi160.c index e248203098..00c5e76090 100644 --- a/driver/accelgyro_bmi160.c +++ b/driver/accelgyro_bmi160.c @@ -456,7 +456,7 @@ static int set_data_rate(const struct motion_sensor_t *s, #ifdef CONFIG_ACCEL_FIFO /* * FIFO start collecting events. - * They will be discared if AP does not want them. + * They will be discarded if AP does not want them. */ enable_fifo(s, 1); #endif @@ -594,8 +594,8 @@ int perform_calib(const struct motion_sensor_t *s) rate = get_data_rate(s); /* - * Temperary set frequency to 100Hz to get enough data in a short - * period of fime. + * Temporary set frequency to 100Hz to get enough data in a short + * period of time. */ set_data_rate(s, 100000, 0); @@ -674,7 +674,7 @@ int manage_activity(const struct motion_sensor_t *s, if (ret) return ret; if (enable) { - /* We should use paramters from caller */ + /* We should use parameters from caller */ raw_write8(s->addr, BMI160_INT_MOTION_3, BMI160_MOTION_PROOF_TIME( CONFIG_GESTURE_SIGMO_PROOF_MS) << diff --git a/driver/mag_bmm150.c b/driver/mag_bmm150.c index 0f8bc8b102..b5658f2ba3 100644 --- a/driver/mag_bmm150.c +++ b/driver/mag_bmm150.c @@ -4,7 +4,7 @@ */ /** - * BMM150 compass behing a BMI160 + * BMM150 compass behind a BMI160 */ #include "accelgyro.h" |