iio: proximity: as3935: remove redundant zeroing of tune_cap
PATCH 1/1 iio: proximity: as3935: remove redundant zeroing of tune_cap
Signed-off-by Matt Ranostay <[email protected]>
--- drivers/iio/proximity/as3935.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/proximity/as3935.c +0 -1
@@ -346,7 +346,6 @@ static int as3935_probe(struct spi_device *spi) st =iio_priv (indio_dev); st->spi = spi; - st->tune_cap =0 ;spi_set_drvdata (spi, indio_dev);mutex_init (&st->lock);
Signature · 1 line
2.7.4
On 06/16/2016 03:47 AM, Matt Ranostay wrote:
Commit message explaining what the patch does and why this patch is needed is missing.
Quoted 18 lines
Signed-off-by Matt Ranostay <[email protected]>--- drivers/iio/proximity/as3935.c | 1 - 1 file changed, 1 deletion(-)drivers/iio/proximity/as3935.c +0
-1@@ -346,7 +346,6 @@ static int as3935_probe(struct spi_device *spi) st =iio_priv (indio_dev); st->spi = spi; - st->tune_cap =0 ;spi_set_drvdata (spi, indio_dev);mutex_init (&st->lock);
Signature · 2 lines
Best regards, Marek Vasut
Jonathan Cameron
maintainerQuoted 4 lines · Marek Vasut
On 06/16/2016 03:47 AM, Matt Ranostay wrote:
Commit message explaining what the patch does and why this patch is needed is missing.
Applied with a note about why this is already 0 added to the commit message.
Thanks,
Jonathan
Quoted 21 lines
Quoted 19 lines
Signed-off-by Matt Ranostay <[email protected]>--- drivers/iio/proximity/as3935.c | 1 - 1 file changed, 1 deletion(-)drivers/iio/proximity/as3935.c +0
-1@@ -346,7 +346,6 @@ static int as3935_probe(struct spi_device *spi) st =iio_priv (indio_dev); st->spi = spi; - st->tune_cap =0 ;spi_set_drvdata (spi, indio_dev);mutex_init (&st->lock);