staging:iio:accel:sca3000 Fix a use before setting of the indio_dev->buffer pointer.
authorJonathan Cameron <jic23@kernel.org>
Sat, 8 Oct 2016 16:39:01 +0000 (17:39 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:33:57 +0000 (19:33 +0100)
commite3ef7532a3d2aabec6aaff0b72db42a6ebf03ab6
tree3b6d082f95d2155fac9784220d173c8c3cfd47f1
parenta57504144c62404472f3cc6a7bf4ada4508d5ddc
staging:iio:accel:sca3000 Fix a use before setting of the indio_dev->buffer pointer.

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