iio:st_magn: Remove redundant call to iio_sw_buffer_preenable().
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 14 Oct 2013 16:49:00 +0000 (17:49 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 16 Oct 2013 18:13:50 +0000 (19:13 +0100)
commitbbc1751d2417ccd126fc5215621c58c7467d8eed
tree2cc27635e564decabef932a3173a60835d86816a
parentc80b8ea9b4ef11fa99e7c3bfa90836971ec1e291
iio:st_magn: Remove redundant call to iio_sw_buffer_preenable().

The equivalent of iio_sw_buffer_preenable() is now done in the IIO buffer core,
so there is no need to do this from the driver anymore.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/st_magn_buffer.c