summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2024-07-15 15:39:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 10:41:50 +0200
commitacabfb1b79802e8a7fc17c7f73271e2250fead0c (patch)
treeb8a944203dc5c2da97a3a85070416993a5dec6fe /drivers
parentbb548c1654db4a6f1a42657ed9068237e0c044b5 (diff)
usb: typec: ucsi: glink: Remove unnecessary semicolon
Remove unnecessary semicolon at the end of the switch statement. This is detected by coccinelle. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240715073947.4028319-1-nichen@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/typec/ucsi/ucsi_glink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
index 16c328497e0b..459a5af02910 100644
--- a/drivers/usb/typec/ucsi/ucsi_glink.c
+++ b/drivers/usb/typec/ucsi/ucsi_glink.c
@@ -263,7 +263,7 @@ static void pmic_glink_ucsi_callback(const void *data, size_t len, void *priv)
case UC_UCSI_USBC_NOTIFY_IND:
schedule_work(&ucsi->notify_work);
break;
- };
+ }
}
static void pmic_glink_ucsi_pdr_notify(void *priv, int state)