iio:buffer_cb: Add missing iio_buffer_init()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 18 Sep 2013 20:02:00 +0000 (21:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 11:52:50 +0000 (12:52 +0100)
commitbda2f8fca20b564ac8edb2b9c080d942c2144359
treed370cb25197b774f0367ec727c8ebb45d8ecb01a
parent0d5b7dae897b61a2372916b1c93f6cee6b8049b1
iio:buffer_cb: Add missing iio_buffer_init()

Make sure to properly initialize the IIO buffer data structure.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/buffer_cb.c