Skip to contentSkip to conversation

iio: amplifiers: ad8366 Fix whitespace issue

PATCH Applied Franziska Naepelt 2 participants 2 messages May 28, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: amplifiers: ad8366 Fix whitespace issue

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

---
 drivers/iio/amplifiers/ad8366.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/amplifiers/ad8366.c +1 -1
index f2c2ea79a07f..8d8c8ea94258 100644
@@ -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

Signature · 1 line
2.39.2 (Apple Git-143)
maintainer Applied
#1 lore raw
Quoted 4 lines · On Sun, 28 May 2023 12:48:02 +0200 Franziska Naepelt…

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

Applied,

Thanks,

Jonathan

Quoted 19 lines
---
 drivers/iio/amplifiers/ad8366.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/amplifiers/ad8366.c +1 -1
index f2c2ea79a07f..8d8c8ea94258 100644
@@ -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