[PATCH] iio: amplifiers: ad8366 Fix whitespace issue

Franziska Naepelt posted 1 patch 2 years, 8 months ago
drivers/iio/amplifiers/ad8366.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iio: amplifiers: ad8366 Fix whitespace issue
Posted by Franziska Naepelt 2 years, 8 months ago
This removes the following checkpatch issue:
- ERROR: space prohibited before that ',' (ctx:WxW)

Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
---
 drivers/iio/amplifiers/ad8366.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/amplifiers/ad8366.c b/drivers/iio/amplifiers/ad8366.c
index f2c2ea79a07f..8d8c8ea94258 100644
--- a/drivers/iio/amplifiers/ad8366.c
+++ b/drivers/iio/amplifiers/ad8366.c
@@ -281,7 +281,7 @@ static int ad8366_probe(struct spi_device *spi)
 	indio_dev->info = &ad8366_info;
 	indio_dev->modes = INDIO_DIRECT_MODE;
 
-	ret = ad8366_write(indio_dev, 0 , 0);
+	ret = ad8366_write(indio_dev, 0, 0);
 	if (ret < 0)
 		goto error_disable_reg;
 

base-commit: 44c026a73be8038f03dbdeef028b642880cf1511
-- 
2.39.2 (Apple Git-143)
Re: [PATCH] iio: amplifiers: ad8366 Fix whitespace issue
Posted by Jonathan Cameron 2 years, 8 months ago
On Sun, 28 May 2023 12:48:02 +0200
Franziska Naepelt <franziska.naepelt@googlemail.com> wrote:

> This removes the following checkpatch issue:
> - ERROR: space prohibited before that ',' (ctx:WxW)
> 
> Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
Applied,

Thanks,

Jonathan

> ---
>  drivers/iio/amplifiers/ad8366.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/amplifiers/ad8366.c b/drivers/iio/amplifiers/ad8366.c
> index f2c2ea79a07f..8d8c8ea94258 100644
> --- a/drivers/iio/amplifiers/ad8366.c
> +++ b/drivers/iio/amplifiers/ad8366.c
> @@ -281,7 +281,7 @@ static int ad8366_probe(struct spi_device *spi)
>  	indio_dev->info = &ad8366_info;
>  	indio_dev->modes = INDIO_DIRECT_MODE;
>  
> -	ret = ad8366_write(indio_dev, 0 , 0);
> +	ret = ad8366_write(indio_dev, 0, 0);
>  	if (ret < 0)
>  		goto error_disable_reg;
>  
> 
> base-commit: 44c026a73be8038f03dbdeef028b642880cf1511