iio: gyro: bmg160: remove redundant field
authorVlad Dogaru <vlad.dogaru@intel.com>
Wed, 13 May 2015 13:30:08 +0000 (16:30 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 May 2015 09:24:36 +0000 (10:24 +0100)
Replace the 'timestamp' field in struct bmg160_data with the identically
named field in iio_poll_func and with calls to iio_get_time_ns().

The reported timestamps may be slightly different, but the advantage is
that we no longer assume that the buffer of bmg160 is triggered by its
own trigger.

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found