* [PATCH] iio: adc: Fix indentation error by adding extra spaces
@ 2023-01-28 17:48 Anup Sharma
2023-01-28 18:10 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Anup Sharma @ 2023-01-28 17:48 UTC (permalink / raw)
To: lars, Michael.Hennerich, jic23, broonie, lgirdwood
Cc: linux-iio, linux-kernel, anupnewsmail
Added extra spaces before statements to fix
following indentation warnings reported by checkpatch.pl.
WARNING: Statements should start on a tabstop
+ return 0;
Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
---
drivers/iio/adc/ad7291.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/ad7291.c b/drivers/iio/adc/ad7291.c
index e9129dac762f..fa5807ebe6d2 100644
--- a/drivers/iio/adc/ad7291.c
+++ b/drivers/iio/adc/ad7291.c
@@ -179,7 +179,7 @@ static unsigned int ad7291_threshold_reg(const struct iio_chan_spec *chan,
offset = AD7291_VOLTAGE_OFFSET;
break;
default:
- return 0;
+ return 0;
}
switch (info) {
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: adc: Fix indentation error by adding extra spaces
2023-01-28 17:48 [PATCH] iio: adc: Fix indentation error by adding extra spaces Anup Sharma
@ 2023-01-28 18:10 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2023-01-28 18:10 UTC (permalink / raw)
To: Anup Sharma
Cc: lars, Michael.Hennerich, broonie, lgirdwood, linux-iio,
linux-kernel
On Sat, 28 Jan 2023 23:18:17 +0530
Anup Sharma <anupnewsmail@gmail.com> wrote:
Tweaked patch name to be more specific. There are a lot of ADC
drivers.
iio: adc: ad7291: Fix...
> Added extra spaces before statements to fix
> following indentation warnings reported by checkpatch.pl.
>
> WARNING: Statements should start on a tabstop
> + return 0;
>
> Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Huh. This one has been there over 9 years without anyone noticing.
Applied.
Thanks,
Jonathan
> ---
> drivers/iio/adc/ad7291.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/ad7291.c b/drivers/iio/adc/ad7291.c
> index e9129dac762f..fa5807ebe6d2 100644
> --- a/drivers/iio/adc/ad7291.c
> +++ b/drivers/iio/adc/ad7291.c
> @@ -179,7 +179,7 @@ static unsigned int ad7291_threshold_reg(const struct iio_chan_spec *chan,
> offset = AD7291_VOLTAGE_OFFSET;
> break;
> default:
> - return 0;
> + return 0;
> }
>
> switch (info) {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-28 17:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28 17:48 [PATCH] iio: adc: Fix indentation error by adding extra spaces Anup Sharma
2023-01-28 18:10 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).