From: Jonathan Cameron <jic23@kernel.org>
To: Chen Zhou <chenzhou10@huawei.com>
Cc: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iio: light: remove unneeded semicolon
Date: Mon, 23 Dec 2019 16:34:06 +0000 [thread overview]
Message-ID: <20191223163406.33fe6673@archlinux> (raw)
In-Reply-To: <20191216105101.7200-1-chenzhou10@huawei.com>
On Mon, 16 Dec 2019 18:51:01 +0800
Chen Zhou <chenzhou10@huawei.com> wrote:
> Fixes coccicheck warning:
>
> ./drivers/iio/light/lm3533-als.c:745:2-3: Unneeded semicolon
>
> Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders poke at the various other patches.
Thanks,
Jonathan
> ---
> drivers/iio/light/lm3533-als.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/light/lm3533-als.c b/drivers/iio/light/lm3533-als.c
> index 6733b52..bc196c2 100644
> --- a/drivers/iio/light/lm3533-als.c
> +++ b/drivers/iio/light/lm3533-als.c
> @@ -742,7 +742,7 @@ static int lm3533_als_set_resistor(struct lm3533_als *als, u8 val)
> if (val < LM3533_ALS_RESISTOR_MIN || val > LM3533_ALS_RESISTOR_MAX) {
> dev_err(&als->pdev->dev, "invalid resistor value\n");
> return -EINVAL;
> - };
> + }
>
> ret = lm3533_write(als->lm3533, LM3533_REG_ALS_RESISTOR_SELECT, val);
> if (ret) {
prev parent reply other threads:[~2019-12-23 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 10:51 [PATCH] iio: light: remove unneeded semicolon Chen Zhou
2019-12-23 16:34 ` 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=20191223163406.33fe6673@archlinux \
--to=jic23@kernel.org \
--cc=chenzhou10@huawei.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