aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/magnetometer/ak8975.c
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 11:49:30 +0100
commitc2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334 (patch)
tree53aa78e260550a8eed9e769228025bbe4c00d3dc /drivers/iio/magnetometer/ak8975.c
parentdt-bindings: iio: magnetometer: ak8975: add gpio reset support (diff)
downloadwireguard-linux-c2ea1d0cadde4e8e818b9f0bb13d9c457b7f0334.tar.xz
wireguard-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>
Diffstat (limited to 'drivers/iio/magnetometer/ak8975.c')
-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;