mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
hisilicon/hns: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
873d2f1216
commit
3d4068b24c
@ -546,9 +546,9 @@ static phy_interface_t hns_mac_get_phy_if_acpi(struct hns_mac_cb *mac_cb)
|
||||
obj_args.integer.type = ACPI_TYPE_INTEGER;
|
||||
obj_args.integer.value = mac_cb->mac_id;
|
||||
|
||||
argv4.type = ACPI_TYPE_PACKAGE,
|
||||
argv4.package.count = 1,
|
||||
argv4.package.elements = &obj_args,
|
||||
argv4.type = ACPI_TYPE_PACKAGE;
|
||||
argv4.package.count = 1;
|
||||
argv4.package.elements = &obj_args;
|
||||
|
||||
obj = acpi_evaluate_dsm(ACPI_HANDLE(mac_cb->dev),
|
||||
&hns_dsaf_acpi_dsm_guid, 0,
|
||||
@ -593,9 +593,9 @@ static int hns_mac_get_sfp_prsnt_acpi(struct hns_mac_cb *mac_cb, int *sfp_prsnt)
|
||||
obj_args.integer.type = ACPI_TYPE_INTEGER;
|
||||
obj_args.integer.value = mac_cb->mac_id;
|
||||
|
||||
argv4.type = ACPI_TYPE_PACKAGE,
|
||||
argv4.package.count = 1,
|
||||
argv4.package.elements = &obj_args,
|
||||
argv4.type = ACPI_TYPE_PACKAGE;
|
||||
argv4.package.count = 1;
|
||||
argv4.package.elements = &obj_args;
|
||||
|
||||
obj = acpi_evaluate_dsm(ACPI_HANDLE(mac_cb->dev),
|
||||
&hns_dsaf_acpi_dsm_guid, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user