Commit 0c25bab1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

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: default avatarXin Ji <xji@analogixsemi.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YtpD4MKBa43higNc@kiliSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9310bd4b
...@@ -1421,12 +1421,12 @@ static int anx7411_psy_register(struct anx7411_data *ctx) ...@@ -1421,12 +1421,12 @@ static int anx7411_psy_register(struct anx7411_data *ctx)
psy_desc->type = POWER_SUPPLY_TYPE_USB; psy_desc->type = POWER_SUPPLY_TYPE_USB;
psy_desc->usb_types = anx7411_psy_usb_types; psy_desc->usb_types = anx7411_psy_usb_types;
psy_desc->num_usb_types = ARRAY_SIZE(anx7411_psy_usb_types); psy_desc->num_usb_types = ARRAY_SIZE(anx7411_psy_usb_types);
psy_desc->properties = anx7411_psy_props, psy_desc->properties = anx7411_psy_props;
psy_desc->num_properties = ARRAY_SIZE(anx7411_psy_props), psy_desc->num_properties = ARRAY_SIZE(anx7411_psy_props);
psy_desc->get_property = anx7411_psy_get_prop, psy_desc->get_property = anx7411_psy_get_prop;
psy_desc->set_property = anx7411_psy_set_prop, psy_desc->set_property = anx7411_psy_set_prop;
psy_desc->property_is_writeable = anx7411_psy_prop_writeable, psy_desc->property_is_writeable = anx7411_psy_prop_writeable;
ctx->usb_type = POWER_SUPPLY_USB_TYPE_C; ctx->usb_type = POWER_SUPPLY_USB_TYPE_C;
ctx->psy = devm_power_supply_register(ctx->dev, psy_desc, &psy_cfg); ctx->psy = devm_power_supply_register(ctx->dev, psy_desc, &psy_cfg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment