iio:gp2ap020a00f: 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:57 +0000 (19:13 +0100)
commit1e61fb7b19df136dc9124b85da9a7bc0ec6cc351
treee7558778d4302f458cadb3c277aa42967729809f
parent6c0743ed99bf3e13b80574629131465a10b12879
iio:gp2ap020a00f: 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: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/gp2ap020a00f.c