Skip to contentSkip to conversation

iio: proximity: as3935: remove redundant zeroing of tune_cap

PATCH In review Matt Ranostay 3 participants 3 messages Jun 16, 2016 – Jun 26, 2016 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: proximity: as3935: remove redundant zeroing of tune_cap

---
 drivers/iio/proximity/as3935.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/proximity/as3935.c +0 -1
index 9aa2ce551ba8..692e9cda8ae0 100644
@@ -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
#1 lore raw

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
---
 drivers/iio/proximity/as3935.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/proximity/as3935.c +0 -1
index 9aa2ce551ba8..692e9cda8ae0 100644
@@ -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
maintainer
#2 lore raw
Quoted 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
---
 drivers/iio/proximity/as3935.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/proximity/as3935.c +0 -1
index 9aa2ce551ba8..692e9cda8ae0 100644
@@ -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);