From: Vlad Dogaru Date: Wed, 13 May 2015 13:30:08 +0000 (+0300) Subject: iio: gyro: bmg160: remove redundant field X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~628^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb2191017e3063c7269be81e1543ccd157bb1e8b;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed