summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Albrieux <jonathan.albrieux@gmail.com>2020-05-28 17:00:17 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-14 12:49:30 +0200
commitc2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334 (patch)
tree53aa78e260550a8eed9e769228025bbe4c00d3dc
parentdt-bindings: iio: magnetometer: ak8975: add gpio reset support (diff)
downloadlinux-c2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334.tar.xz
linux-c2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334.zip
iio: magnetometer: ak8975: Fix typo, uniform measurement unit style
Minor comment style edits. Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/magnetometer/ak8975.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c
index 3c881541ae72..fd368455cd7b 100644
--- a/drivers/iio/magnetometer/ak8975.c
+++ b/drivers/iio/magnetometer/ak8975.c
@@ -385,9 +385,9 @@ static int ak8975_power_on(const struct ak8975_data *data)
return ret;
}
/*
- * According to the datasheet the power supply rise time i 200us
+ * According to the datasheet the power supply rise time is 200us
* and the minimum wait time before mode setting is 100us, in
- * total 300 us. Add some margin and say minimum 500us here.
+ * total 300us. Add some margin and say minimum 500us here.
*/
usleep_range(500, 1000);
return 0;