From: Peter Meerwald Date: Fri, 22 Jun 2012 07:47:43 +0000 (+0200) Subject: staging: iio: fix typo, improve timestamp alignment comment X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=8b32b11c2eb800c636975dbc37e4e11f36790493;p=linux-edison.git staging: iio: fix typo, improve timestamp alignment comment Signed-off-by: Peter Meerwald Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- 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();