usb: typec: anx7411: use semi-colons instead of commas
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Jul 2022 06:29:52 +0000 (09:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2022 12:26:39 +0000 (14:26 +0200)
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>
drivers/usb/typec/anx7411.c

index 311b56aaea9fbf2e54ea4d15967085e17f63a648..18a6a6a8b9eb6de867c5d7136f85c6f27fe96ab8 100644 (file)
@@ -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);