Message ID | 20201214133114.3516-1-zhengyongjun3@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [-next] hwmon/pc87360: convert comma to semicolon | expand |
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)
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)
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(-)