commit | eb2191017e3063c7269be81e1543ccd157bb1e8b | [log] [tgz] |
---|---|---|
author | Vlad Dogaru <vlad.dogaru@intel.com> | Wed May 13 16:30:08 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 17 10:24:36 2015 +0100 |
tree | 3da09bb7b6df262fea4d1e1016916692ab5c4c54 | |
parent | fcc1b2f57d89142acf6173a8e6ffb19f5f5ec876 [diff] |
iio: gyro: bmg160: remove redundant field 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>