From: Jonathan Cameron <jic23@kernel.org>
To: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Cc: antoniu.miclaus@analog.com, lars@metafoo.de,
Michael.Hennerich@analog.com, dlechner@baylibre.com,
nuno.sa@analog.com, andy@kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: adc: palmas_gpadc: Fix leading space indentation
Date: Sat, 7 Mar 2026 17:17:10 +0000 [thread overview]
Message-ID: <20260307171710.2aa24c55@jic23-huawei> (raw)
In-Reply-To: <20260307130213.174010-2-giorgitchankvetadze1997@gmail.com>
On Sat, 7 Mar 2026 17:02:14 +0400
Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> wrote:
> Fix lines starting with spaces instead of tabs to comply with the
> kernel coding style.
>
> No functional change.
>
> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Huh. I wonder why I never got bot warnings on this?
Thanks for fixing it. I applied but changed the patch title a little
to remove the word fix as that tends to make people thing it needs a backport.
Applied to the testing branch of iio.git.
Jonathan
> ---
> drivers/iio/adc/palmas_gpadc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
> index 3f433064618e..f9995e28b10f 100644
> --- a/drivers/iio/adc/palmas_gpadc.c
> +++ b/drivers/iio/adc/palmas_gpadc.c
> @@ -521,16 +521,16 @@ static int palmas_gpadc_get_low_threshold_raw(struct palmas_gpadc *adc,
>
> val = (val * 1000) / adc->adc_info[adc_chan].gain;
>
> - if (adc->adc_info[adc_chan].is_uncalibrated) {
> + if (adc->adc_info[adc_chan].is_uncalibrated) {
> /* 2% worse */
> min_gain_error -= 20;
> min_offset_error = -36;
> - } else {
> + } else {
> val = (val * adc->adc_info[adc_chan].gain_error -
> adc->adc_info[adc_chan].offset) /
> 1000;
> min_offset_error = -2;
> - }
> + }
>
> return palmas_gpadc_threshold_with_tolerance(val,
> min_INL,
prev parent reply other threads:[~2026-03-07 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 13:02 Giorgi Tchankvetadze
2026-03-07 17:17 ` 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=20260307171710.2aa24c55@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=antoniu.miclaus@analog.com \
--cc=dlechner@baylibre.com \
--cc=giorgitchankvetadze1997@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
/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
all inboxes | Powered by JetHome®