Skip to contentSkip to conversation

hwmon/pc87360: convert comma to semicolon

PATCH Applied Zheng Yongjun 2 participants 2 messages Dec 14, 2020 – Dec 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon/pc87360: convert comma to semicolon

Replace a comma between expression statements by a semicolon.

---
 drivers/hwmon/pc87360.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/pc87360.c +2 -2
index 94f4b8b4a2ba..6a9ba23cd302 100644
@@ -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)
Signature · 1 line
2.22.0
maintainer Applied
#1 lore raw
Quoted 3 lines · Zheng Yongjun

Replace a comma between expression statements by a semicolon.

Applied.

Thanks,
Guenter

Quoted 19 lines
---
 drivers/hwmon/pc87360.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/pc87360.c +2 -2
index 94f4b8b4a2ba..6a9ba23cd302 100644
@@ -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)