On 10/14/13 17:49, Lars-Peter Clausen wrote: > 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@xxxxxxxxxx> > Cc: Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx> Applied to the togreg branch of iio.git thanks > --- > drivers/iio/light/gp2ap020a00f.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/iio/light/gp2ap020a00f.c b/drivers/iio/light/gp2ap020a00f.c > index 2a65bc3..a530e77 100644 > --- a/drivers/iio/light/gp2ap020a00f.c > +++ b/drivers/iio/light/gp2ap020a00f.c > @@ -1483,7 +1483,6 @@ error_unlock: > } > > static const struct iio_buffer_setup_ops gp2ap020a00f_buffer_setup_ops = { > - .preenable = &iio_sw_buffer_preenable, > .postenable = &gp2ap020a00f_buffer_postenable, > .predisable = &gp2ap020a00f_buffer_predisable, > }; > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html