mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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 <pmalani@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Acked-by: Prashant Malani <pmalani@chromium.org> Link: https://lore.kernel.org/r/20231003003429.1378109-2-swboyd@chromium.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
This commit is contained in:
parent
7396a5b980
commit
a88f6ef679
|
|
@ -271,9 +271,9 @@ static int cros_typec_register_port_altmodes(struct cros_typec_data *typec,
|
|||
struct typec_altmode *amode;
|
||||
|
||||
/* All PD capable CrOS devices are assumed to support DP altmode. */
|
||||
desc.svid = USB_TYPEC_DP_SID,
|
||||
desc.mode = USB_TYPEC_DP_MODE,
|
||||
desc.vdo = DP_PORT_VDO,
|
||||
desc.svid = USB_TYPEC_DP_SID;
|
||||
desc.mode = USB_TYPEC_DP_MODE;
|
||||
desc.vdo = DP_PORT_VDO;
|
||||
amode = typec_port_register_altmode(port->port, &desc);
|
||||
if (IS_ERR(amode))
|
||||
return PTR_ERR(amode);
|
||||
|
|
@ -287,8 +287,8 @@ static int cros_typec_register_port_altmodes(struct cros_typec_data *typec,
|
|||
* here for now.
|
||||
*/
|
||||
memset(&desc, 0, sizeof(desc));
|
||||
desc.svid = USB_TYPEC_TBT_SID,
|
||||
desc.mode = TYPEC_ANY_MODE,
|
||||
desc.svid = USB_TYPEC_TBT_SID;
|
||||
desc.mode = TYPEC_ANY_MODE;
|
||||
amode = typec_port_register_altmode(port->port, &desc);
|
||||
if (IS_ERR(amode))
|
||||
return PTR_ERR(amode);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user