diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-06-22 09:47:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-22 21:24:27 -0700 |
commit | 8b32b11c2eb800c636975dbc37e4e11f36790493 (patch) | |
tree | 8cd177f9bfd8857b6f0d2b9e3fe7a1e896d83b89 | |
parent | 970689f10e7447225eef39ceabd1898daec99553 (diff) |
staging: iio: fix typo, improve timestamp alignment comment
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/iio/iio_simple_dummy_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/iio_simple_dummy_buffer.c b/drivers/staging/iio/iio_simple_dummy_buffer.c index f4415da528a..b9e6093f654 100644 --- a/drivers/staging/iio/iio_simple_dummy_buffer.c +++ b/drivers/staging/iio/iio_simple_dummy_buffer.c @@ -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(); |