staging: iio: adc: ad7192: fix space before , coding style issue
Subsystems (4)
PATCH 1/1 staging: iio: adc: ad7192: fix space before , coding style issue
This patch solves the space before , error of the checkpatch.pl
Signed-off-by Mohammad Jamal <[email protected]>
--- drivers/staging/iio/adc/ad7192.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/ad7192.c +1 -1
@@ -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
Jonathan Cameron
maintainerQuoted 3 lines · Mohammad Jamal
This patch solves the space before , error of the checkpatch.pl
Signed-off-by Mohammad Jamal <[email protected]>
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@@ -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" );