staging: iio: fix typo, improve timestamp alignment comment
authorPeter Meerwald <pmeerw@pmeerw.net>
Fri, 22 Jun 2012 07:47:43 +0000 (09:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 04:24:27 +0000 (21:24 -0700)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/iio_simple_dummy_buffer.c

index f4415da..b9e6093 100644 (file)
@@ -83,7 +83,7 @@ static irqreturn_t iio_simple_dummy_trigger_h(int irq, void *p)
                        len += 2;
                }
        }
-       /* Store a timestampe at an 8 byte boundary */
+       /* Store the timestamp at an 8 byte aligned offset */
        if (indio_dev->scan_timestamp)
                *(s64 *)((phys_addr_t)data + ALIGN(len, sizeof(s64)))
                        = iio_get_time_ns();