From: Jonathan Cameron <jic23@kernel.org>
To: Anup Sharma <anupnewsmail@gmail.com>
Cc: lars@metafoo.de, Michael.Hennerich@analog.com,
broonie@kernel.org, lgirdwood@gmail.com,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: adc: Fix indentation error by adding extra spaces
Date: Sat, 28 Jan 2023 18:10:10 +0000 [thread overview]
Message-ID: <20230128181010.0f22fc15@jic23-huawei> (raw)
In-Reply-To: <Y9Vf4Tp8JKvy+y0u@yoga>
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) {
prev parent reply other threads:[~2023-01-28 17:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230128181010.0f22fc15@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=anupnewsmail@gmail.com \
--cc=broonie@kernel.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).