From: Jonathan Cameron <jic23@kernel.org>
To: Cosmin Tanislav <demonsingur@gmail.com>
Cc: Cosmin Tanislav <cosmin.tanislav@analog.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Rasmus Villemoes <linux@rasmusvillemoes.dk>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: addac: ad74413r: fix blank line after declaration warning
Date: Thu, 24 Nov 2022 19:24:53 +0000 [thread overview]
Message-ID: <20221124192453.13cf0d1c@jic23-huawei> (raw)
In-Reply-To: <20221124153049.8851-1-cosmin.tanislav@analog.com>
On Thu, 24 Nov 2022 17:30:49 +0200
Cosmin Tanislav <demonsingur@gmail.com> wrote:
> Checkpatch wants a blank line after all declarations. Add it now,
> even though the patch has already been submitted.
>
> Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
> Fixes: 7b2366008125 ("iio: addac: ad74413r: add spi_device_id table")
Dropped fixes tag as this is just cosmetic.
Applied.
> ---
> drivers/iio/addac/ad74413r.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/addac/ad74413r.c b/drivers/iio/addac/ad74413r.c
> index 61030053cbea..f32c8c2fb26d 100644
> --- a/drivers/iio/addac/ad74413r.c
> +++ b/drivers/iio/addac/ad74413r.c
> @@ -1315,6 +1315,7 @@ static int ad74413r_probe(struct spi_device *spi)
> st->chip_info = device_get_match_data(&spi->dev);
> if (!st->chip_info) {
> const struct spi_device_id *id = spi_get_device_id(spi);
> +
> if (id)
> st->chip_info =
> (struct ad74413r_chip_info *)id->driver_data;
prev parent reply other threads:[~2022-11-24 19:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 15:30 [PATCH] iio: addac: ad74413r: fix blank line after declaration warning Cosmin Tanislav
2022-11-24 19:24 ` 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=20221124192453.13cf0d1c@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=cosmin.tanislav@analog.com \
--cc=demonsingur@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
/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