Re: [PATCH 14/17] staging:iio:simple-dummy: Remove redundant call to iio_sw_buffer_preenable()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
Applied to the togreg branch of iio.git
> ---
>  drivers/staging/iio/iio_simple_dummy_buffer.c | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/drivers/staging/iio/iio_simple_dummy_buffer.c b/drivers/staging/iio/iio_simple_dummy_buffer.c
> index 2612e87..46c134b 100644
> --- a/drivers/staging/iio/iio_simple_dummy_buffer.c
> +++ b/drivers/staging/iio/iio_simple_dummy_buffer.c
> @@ -99,14 +99,6 @@ done:
>  
>  static const struct iio_buffer_setup_ops iio_simple_dummy_buffer_setup_ops = {
>  	/*
> -	 * iio_sw_buffer_preenable:
> -	 * Generic function for equal sized ring elements + 64 bit timestamp
> -	 * Assumes that any combination of channels can be enabled.
> -	 * Typically replaced to implement restrictions on what combinations
> -	 * can be captured (hardware scan modes).
> -	 */
> -	.preenable = &iio_sw_buffer_preenable,
> -	/*
>  	 * iio_triggered_buffer_postenable:
>  	 * Generic function that simply attaches the pollfunc to the trigger.
>  	 * Replace this to mess with hardware state before we attach the
> 
--
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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux