* [PATCH -next] hwmon/pc87360: convert comma to semicolon
@ 2020-12-14 13:31 Zheng Yongjun
2020-12-16 16:33 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Yongjun @ 2020-12-14 13:31 UTC (permalink / raw)
To: jim.cromie, jdelvare, linux; +Cc: linux-hwmon, linux-kernel, Zheng Yongjun
Replace a comma between expression statements by a semicolon.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
drivers/hwmon/pc87360.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index 94f4b8b4a2ba..6a9ba23cd302 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -1700,8 +1700,8 @@ static int __init pc87360_device_add(unsigned short address)
continue;
res[res_count].start = extra_isa[i];
res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1;
- res[res_count].name = "pc87360",
- res[res_count].flags = IORESOURCE_IO,
+ res[res_count].name = "pc87360";
+ res[res_count].flags = IORESOURCE_IO;
err = acpi_check_resource_conflict(&res[res_count]);
if (err)
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] hwmon/pc87360: convert comma to semicolon
2020-12-14 13:31 [PATCH -next] hwmon/pc87360: convert comma to semicolon Zheng Yongjun
@ 2020-12-16 16:33 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-12-16 16:33 UTC (permalink / raw)
To: Zheng Yongjun; +Cc: jim.cromie, jdelvare, linux-hwmon, linux-kernel
On Mon, Dec 14, 2020 at 09:31:14PM +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Applied.
Thanks,
Guenter
> ---
> drivers/hwmon/pc87360.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
> index 94f4b8b4a2ba..6a9ba23cd302 100644
> --- a/drivers/hwmon/pc87360.c
> +++ b/drivers/hwmon/pc87360.c
> @@ -1700,8 +1700,8 @@ static int __init pc87360_device_add(unsigned short address)
> continue;
> res[res_count].start = extra_isa[i];
> res[res_count].end = extra_isa[i] + PC87360_EXTENT - 1;
> - res[res_count].name = "pc87360",
> - res[res_count].flags = IORESOURCE_IO,
> + res[res_count].name = "pc87360";
> + res[res_count].flags = IORESOURCE_IO;
>
> err = acpi_check_resource_conflict(&res[res_count]);
> if (err)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-16 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:31 [PATCH -next] hwmon/pc87360: convert comma to semicolon Zheng Yongjun
2020-12-16 16:33 ` Guenter Roeck
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).