X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fiio%2Faccel%2Fmma7455_core.c;h=6551085bedd75818741a48725d9df14fa17d1a34;hb=396d10993f8d2ef410a6ca6a42724dc0211a8b42;hp=c902f54c23f57fee5ee587b8d701ae818f591785;hpb=2a9b27b326d67dcd1bca066bc35c709da972833c;p=cascardo%2Flinux.git diff --git a/drivers/iio/accel/mma7455_core.c b/drivers/iio/accel/mma7455_core.c index c902f54c23f5..6551085bedd7 100644 --- a/drivers/iio/accel/mma7455_core.c +++ b/drivers/iio/accel/mma7455_core.c @@ -97,7 +97,8 @@ static irqreturn_t mma7455_trigger_handler(int irq, void *p) if (ret) goto done; - iio_push_to_buffers_with_timestamp(indio_dev, buf, iio_get_time_ns()); + iio_push_to_buffers_with_timestamp(indio_dev, buf, + iio_get_time_ns(indio_dev)); done: iio_trigger_notify_done(indio_dev->trig);