iio:gp2ap020a00f: Use iio_push_to_buffers_with_timestamp()
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 19 Sep 2013 12:59:00 +0000 (13:59 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 18:23:59 +0000 (19:23 +0100)
commit3b271798330ede49dc41615ce4eceb7a3aef8cd9
treec6aa48029a9dd67b5a62ff11a40e2ddacb0e2e8e
parent0624bf847dd0ddc9bf71ccb9d1a6fffa9e5a8dd0
iio:gp2ap020a00f: Use iio_push_to_buffers_with_timestamp()

Makes the code a bit shorter and less ugly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/gp2ap020a00f.c