summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-07-22 09:29:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-27 15:26:39 +0300
commit0c25bab1abb43dbe2662e88f56e157ccac76f8c2 (patch)
tree75f1953c3d2a72f73510c3944482b034947dc062 /drivers/usb
parent9310bd4bf20ff9ab180a0158f917b1d9af3247dc (diff)
downloadlinux-0c25bab1abb43dbe2662e88f56e157ccac76f8c2.tar.xz
usb: typec: anx7411: use semi-colons instead of commas
Semi colons and commas are equivalent in this context but semi-colons are better style. Reviewed-by: Xin Ji <xji@analogixsemi.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YtpD4MKBa43higNc@kili Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/typec/anx7411.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/typec/anx7411.c b/drivers/usb/typec/anx7411.c
index 311b56aaea9f..18a6a6a8b9eb 100644
--- a/drivers/usb/typec/anx7411.c
+++ b/drivers/usb/typec/anx7411.c
@@ -1421,12 +1421,12 @@ static int anx7411_psy_register(struct anx7411_data *ctx)
psy_desc->type = POWER_SUPPLY_TYPE_USB;
psy_desc->usb_types = anx7411_psy_usb_types;
psy_desc->num_usb_types = ARRAY_SIZE(anx7411_psy_usb_types);
- psy_desc->properties = anx7411_psy_props,
- psy_desc->num_properties = ARRAY_SIZE(anx7411_psy_props),
+ psy_desc->properties = anx7411_psy_props;
+ psy_desc->num_properties = ARRAY_SIZE(anx7411_psy_props);
- psy_desc->get_property = anx7411_psy_get_prop,
- psy_desc->set_property = anx7411_psy_set_prop,
- psy_desc->property_is_writeable = anx7411_psy_prop_writeable,
+ psy_desc->get_property = anx7411_psy_get_prop;
+ psy_desc->set_property = anx7411_psy_set_prop;
+ psy_desc->property_is_writeable = anx7411_psy_prop_writeable;
ctx->usb_type = POWER_SUPPLY_USB_TYPE_C;
ctx->psy = devm_power_supply_register(ctx->dev, psy_desc, &psy_cfg);