public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: adc: fix indentation issue, remove extra tab
@ 2019-03-14 23:22 Colin King
  2019-03-14 23:26 ` Colin King
  0 siblings, 1 reply; 4+ messages in thread
From: Colin King @ 2019-03-14 23:22 UTC (permalink / raw)
  To: Stefan Popa, Lars-Peter Clausen, Michael Hennerich,
	Jonathan Cameron, Hartmut Knaack, Peter Meerwald-Stadler,
	linux-iio
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

A return statement is indented one level too deeply; clean this
up by removing a tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/iio/adc/ad7124.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 7d5e5311d8de..659ef37d5fe8 100644
--- a/drivers/iio/adc/ad7124.c
+++ b/drivers/iio/adc/ad7124.c
@@ -411,7 +411,7 @@ static int ad7124_init_channel_vref(struct ad7124_state *st,
 			dev_err(&st->sd.spi->dev,
 				"Error, trying to use external voltage reference without a %s regulator.\n",
 				ad7124_ref_names[refsel]);
-				return PTR_ERR(st->vref[refsel]);
+			return PTR_ERR(st->vref[refsel]);
 		}
 		st->channel_config[channel_number].vref_mv  			regulator_get_voltage(st->vref[refsel]);
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] iio: adc: fix indentation issue, remove extra tab
  2019-03-14 23:22 [PATCH] iio: adc: fix indentation issue, remove extra tab Colin King
@ 2019-03-14 23:26 ` Colin King
  2019-03-15  9:25   ` Popa, Stefan Serban
  0 siblings, 1 reply; 4+ messages in thread
From: Colin King @ 2019-03-14 23:26 UTC (permalink / raw)
  To: Stefan Popa, Lars-Peter Clausen, Michael Hennerich,
	Jonathan Cameron, Hartmut Knaack, Peter Meerwald-Stadler,
	linux-iio
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

A return statement is indented one level too deeply; clean this
up by removing a tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/iio/adc/ad7124.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
index 7d5e5311d8de..659ef37d5fe8 100644
--- a/drivers/iio/adc/ad7124.c
+++ b/drivers/iio/adc/ad7124.c
@@ -411,7 +411,7 @@ static int ad7124_init_channel_vref(struct ad7124_state *st,
 			dev_err(&st->sd.spi->dev,
 				"Error, trying to use external voltage reference without a %s regulator.\n",
 				ad7124_ref_names[refsel]);
-				return PTR_ERR(st->vref[refsel]);
+			return PTR_ERR(st->vref[refsel]);
 		}
 		st->channel_config[channel_number].vref_mv  			regulator_get_voltage(st->vref[refsel]);
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] iio: adc: fix indentation issue, remove extra tab
  2019-03-14 23:26 ` Colin King
@ 2019-03-15  9:25   ` Popa, Stefan Serban
  2019-03-16 16:38     ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Popa, Stefan Serban @ 2019-03-15  9:25 UTC (permalink / raw)
  To: colin.king@canonical.com, lars@metafoo.de, pmeerw@pmeerw.net,
	Hennerich, Michael, jic23@kernel.org, linux-iio@vger.kernel.org,
	knaack.h@gmx.de
  Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org

T24gSm8sIDIwMTktMDMtMTQgYXQgMjM6MjYgKzAwMDAsIENvbGluIEtpbmcgd3JvdGU6DQo+IFtF
eHRlcm5hbF0NCj4gDQo+IA0KPiBGcm9tOiBDb2xpbiBJYW4gS2luZyA8Y29saW4ua2luZ0BjYW5v
bmljYWwuY29tPg0KPiANCj4gQSByZXR1cm4gc3RhdGVtZW50IGlzIGluZGVudGVkIG9uZSBsZXZl
bCB0b28gZGVlcGx5OyBjbGVhbiB0aGlzDQo+IHVwIGJ5IHJlbW92aW5nIGEgdGFiLg0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CoMKgwqDCoMKgwqDCoMKgYWQ3MTI0X3JlZl9uYW1lc1tyZWZzZWxd
KTsNCj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgcmV0dXJuIFBUUl9FUlIoc3QtPnZyZWZbcmVmc2VsXSk7DQo+ICvCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgcmV0dXJuIFBUUl9FUlIoc3Qt
PnZyZWZbcmVmc2VsXSk7DQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgfQ0KPiDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoHN0LT5jaGFubmVsX2NvbmZpZ1tjaGFubmVs
X251bWJlcl0udnJlZl9tdiA9DQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoHJlZ3VsYXRvcl9nZXRfdm9sdGFnZShzdC0+dnJlZltyZWZzZWxdKTsNCj4g
LS0NCj4gMi4yMC4xDQo+IA=

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] iio: adc: fix indentation issue, remove extra tab
  2019-03-15  9:25   ` Popa, Stefan Serban
@ 2019-03-16 16:38     ` Jonathan Cameron
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2019-03-16 16:38 UTC (permalink / raw)
  To: Popa, Stefan Serban
  Cc: colin.king@canonical.com, lars@metafoo.de, pmeerw@pmeerw.net,
	Hennerich, Michael, linux-iio@vger.kernel.org, knaack.h@gmx.de,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org

On Fri, 15 Mar 2019 09:25:38 +0000
"Popa, Stefan Serban" <StefanSerban.Popa@analog.com> wrote:

> On Jo, 2019-03-14 at 23:26 +0000, Colin King wrote:
> > [External]
> > 
> > 
> > From: Colin Ian King <colin.king@canonical.com>
> > 
> > A return statement is indented one level too deeply; clean this
> > up by removing a tab.
> > 
> > Signed-off-by: Colin Ian King <colin.king@canonical.com>  
> Acked-by: Stefan Popa <stefan.popa@analog.com>
> 
Applied thanks.

Jonathan

> Thanks!
> 
> > ---
> >  drivers/iio/adc/ad7124.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c
> > index 7d5e5311d8de..659ef37d5fe8 100644
> > --- a/drivers/iio/adc/ad7124.c
> > +++ b/drivers/iio/adc/ad7124.c
> > @@ -411,7 +411,7 @@ static int ad7124_init_channel_vref(struct
> > ad7124_state *st,
> >                         dev_err(&st->sd.spi->dev,
> >                                 "Error, trying to use external voltage
> > reference without a %s regulator.\n",
> >                                 ad7124_ref_names[refsel]);
> > -                               return PTR_ERR(st->vref[refsel]);
> > +                       return PTR_ERR(st->vref[refsel]);
> >                 }
> >                 st->channel_config[channel_number].vref_mv =
> >                         regulator_get_voltage(st->vref[refsel]);
> > --
> > 2.20.1
> >  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-16 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-14 23:22 [PATCH] iio: adc: fix indentation issue, remove extra tab Colin King
2019-03-14 23:26 ` Colin King
2019-03-15  9:25   ` Popa, Stefan Serban
2019-03-16 16:38     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox