diff mbox series

[-next] iio: chemical: pms7003: convert comma to semicolon

Message ID 20201211085700.3037-1-zhengyongjun3@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] iio: chemical: pms7003: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 11, 2020, 8:57 a.m. UTC
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(-)

Comments

Jonathan Cameron Dec. 13, 2020, 12:29 p.m. UTC | #1
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;
diff mbox series

Patch

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;