Skip to content

Commit a88f6ef

Browse files
bebarinoTzung-Bi Shih
authored andcommitted
platform/chrome: cros_ec_typec: Use semi-colons instead of commas
These should be semi-colons so that one statement is per line. Cc: Prashant Malani <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Acked-by: Prashant Malani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tzung-Bi Shih <[email protected]>
1 parent 7396a5b commit a88f6ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/platform/chrome/cros_ec_typec.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ static int cros_typec_register_port_altmodes(struct cros_typec_data *typec,
271271
struct typec_altmode *amode;
272272

273273
/* All PD capable CrOS devices are assumed to support DP altmode. */
274-
desc.svid = USB_TYPEC_DP_SID,
275-
desc.mode = USB_TYPEC_DP_MODE,
276-
desc.vdo = DP_PORT_VDO,
274+
desc.svid = USB_TYPEC_DP_SID;
275+
desc.mode = USB_TYPEC_DP_MODE;
276+
desc.vdo = DP_PORT_VDO;
277277
amode = typec_port_register_altmode(port->port, &desc);
278278
if (IS_ERR(amode))
279279
return PTR_ERR(amode);
@@ -287,8 +287,8 @@ static int cros_typec_register_port_altmodes(struct cros_typec_data *typec,
287287
* here for now.
288288
*/
289289
memset(&desc, 0, sizeof(desc));
290-
desc.svid = USB_TYPEC_TBT_SID,
291-
desc.mode = TYPEC_ANY_MODE,
290+
desc.svid = USB_TYPEC_TBT_SID;
291+
desc.mode = TYPEC_ANY_MODE;
292292
amode = typec_port_register_altmode(port->port, &desc);
293293
if (IS_ERR(amode))
294294
return PTR_ERR(amode);

0 commit comments

Comments
 (0)