[PATCH] staging: iio: adc: ad7192: fix space before , coding style issue

Jonathan Cameron jic23 at kernel.org
Fri Dec 26 10:42:27 UTC 2014


On 21/12/14 12:35, Mohammad Jamal wrote:
> This patch solves the space before , error of the checkpatch.pl
> 
> Signed-off-by: Mohammad Jamal <md.jamalmohiuddin at gmail.com>
Also fixed in that earlier patch from Zachery.
> ---
>  drivers/staging/iio/adc/ad7192.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
> index f6526aa..6f8ce6c 100644
> --- a/drivers/staging/iio/adc/ad7192.c
> +++ b/drivers/staging/iio/adc/ad7192.c
> @@ -612,7 +612,7 @@ static int ad7192_probe(struct spi_device *spi)
>  	const struct ad7192_platform_data *pdata = spi->dev.platform_data;
>  	struct ad7192_state *st;
>  	struct iio_dev *indio_dev;
> -	int ret , voltage_uv = 0;
> +	int ret, voltage_uv = 0;
>  
>  	if (!pdata) {
>  		dev_err(&spi->dev, "no platform data?\n");
> 



More information about the devel mailing list