OSDN Git Service

iio: st_sensors: fix typo in comment
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Thu, 21 Jan 2021 15:39:44 +0000 (16:39 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:46:55 +0000 (20:46 +0000)
s/timetamping/timestamping/

Cc: trivial@kernel.org
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20210121153945.5499-1-a.fatoum@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/common/st_sensors/st_sensors_buffer.c

index eee3013..802f9ae 100644 (file)
@@ -57,7 +57,7 @@ irqreturn_t st_sensors_trigger_handler(int irq, void *p)
        s64 timestamp;
 
        /*
-        * If we do timetamping here, do it before reading the values, because
+        * If we do timestamping here, do it before reading the values, because
         * once we've read the values, new interrupts can occur (when using
         * the hardware trigger) and the hw_timestamp may get updated.
         * By storing it in a local variable first, we are safe.