2023-05-28 10:59:39

by Franziska Näpelt

[permalink] [raw]
Subject: [PATCH] iio: amplifiers: ad8366 Fix whitespace issue

This removes the following checkpatch issue:
- ERROR: space prohibited before that ',' (ctx:WxW)

Signed-off-by: Franziska Naepelt <[email protected]>
---
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)



2023-05-28 15:12:16

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: amplifiers: ad8366 Fix whitespace issue

On Sun, 28 May 2023 12:48:02 +0200
Franziska Naepelt <[email protected]> wrote:

> This removes the following checkpatch issue:
> - ERROR: space prohibited before that ',' (ctx:WxW)
>
> Signed-off-by: Franziska Naepelt <[email protected]>
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