Re: [PATCH 02/10] iio: inkern: add a missing space before if

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

 



On 14/04/16 20:36, Slawomir Stepien wrote:
> This fixes the error reported by checkpatch.pl:
> 
> ERROR: space required before the open parenthesis '('
> 
> Signed-off-by: Slawomir Stepien <sst@xxxxxxxxx>
This one is more clear cut!  Thanks for fixing it.

Applied to the togreg branch of iio.git - initially pushed out as testing etc etc.

Jonathan
> ---
>  drivers/iio/inkern.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c
> index 734a004..2fc7928 100644
> --- a/drivers/iio/inkern.c
> +++ b/drivers/iio/inkern.c
> @@ -452,7 +452,7 @@ static int iio_channel_read(struct iio_channel *chan, int *val, int *val2,
>  	if (val2 == NULL)
>  		val2 = &unused;
>  
> -	if(!iio_channel_has_info(chan->channel, info))
> +	if (!iio_channel_has_info(chan->channel, info))
>  		return -EINVAL;
>  
>  	if (chan->indio_dev->info->read_raw_multi) {
> 

--
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