* [PATCH -next] iio: chemical: pms7003: convert comma to semicolon
@ 2020-12-11 8:57 Zheng Yongjun
2020-12-13 12:29 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Yongjun @ 2020-12-11 8:57 UTC (permalink / raw)
To: tduszyns, jic23, lars; +Cc: pmeerw, linux-iio, linux-kernel, Zheng Yongjun
Replace a comma between expression statements by a semicolon.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
drivers/iio/chemical/pms7003.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/chemical/pms7003.c b/drivers/iio/chemical/pms7003.c
index e9d4405654bc..e9857d93b307 100644
--- a/drivers/iio/chemical/pms7003.c
+++ b/drivers/iio/chemical/pms7003.c
@@ -282,7 +282,7 @@ static int pms7003_probe(struct serdev_device *serdev)
state->serdev = serdev;
indio_dev->info = &pms7003_info;
indio_dev->name = PMS7003_DRIVER_NAME;
- indio_dev->channels = pms7003_channels,
+ indio_dev->channels = pms7003_channels;
indio_dev->num_channels = ARRAY_SIZE(pms7003_channels);
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->available_scan_masks = pms7003_scan_masks;
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] iio: chemical: pms7003: convert comma to semicolon
2020-12-11 8:57 [PATCH -next] iio: chemical: pms7003: convert comma to semicolon Zheng Yongjun
@ 2020-12-13 12:29 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-12-13 12:29 UTC (permalink / raw)
To: Zheng Yongjun; +Cc: tduszyns, lars, pmeerw, linux-iio, linux-kernel
On Fri, 11 Dec 2020 16:57:00 +0800
Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Applied to the togreg branch of iio.git and pushed out as testing because
of other things in that tree.
Thanks,
Jonathan
> ---
> drivers/iio/chemical/pms7003.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/chemical/pms7003.c b/drivers/iio/chemical/pms7003.c
> index e9d4405654bc..e9857d93b307 100644
> --- a/drivers/iio/chemical/pms7003.c
> +++ b/drivers/iio/chemical/pms7003.c
> @@ -282,7 +282,7 @@ static int pms7003_probe(struct serdev_device *serdev)
> state->serdev = serdev;
> indio_dev->info = &pms7003_info;
> indio_dev->name = PMS7003_DRIVER_NAME;
> - indio_dev->channels = pms7003_channels,
> + indio_dev->channels = pms7003_channels;
> indio_dev->num_channels = ARRAY_SIZE(pms7003_channels);
> indio_dev->modes = INDIO_DIRECT_MODE;
> indio_dev->available_scan_masks = pms7003_scan_masks;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-13 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 8:57 [PATCH -next] iio: chemical: pms7003: convert comma to semicolon Zheng Yongjun
2020-12-13 12:29 ` 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).