Skip to contentSkip to conversation

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

PATCH In review Mohammad Jamal 2 participants 2 messages Dec 21, 2014 – Dec 26, 2014

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

PATCH 1/1 staging: iio: adc: ad7192: fix space before , coding style issue

This patch solves the space before , error of the checkpatch.pl

---
 drivers/staging/iio/adc/ad7192.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/ad7192.c +1 -1
index f6526aa..6f8ce6c 100644
@@ -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");
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw
Quoted 3 lines · Mohammad Jamal

This patch solves the space before , error of the checkpatch.pl

Also fixed in that earlier patch from Zachery.

Quoted 18 lines
---
 drivers/staging/iio/adc/ad7192.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/ad7192.c +1 -1
index f6526aa..6f8ce6c 100644
@@ -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");