aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/mux/fsa4480.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/typec/mux/fsa4480.c')
-rw-r--r--drivers/usb/typec/mux/fsa4480.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/typec/mux/fsa4480.c b/drivers/usb/typec/mux/fsa4480.c
index 6184f5367190..d6495e533e58 100644
--- a/drivers/usb/typec/mux/fsa4480.c
+++ b/drivers/usb/typec/mux/fsa4480.c
@@ -181,14 +181,12 @@ static int fsa4480_probe(struct i2c_client *client)
return 0;
}
-static int fsa4480_remove(struct i2c_client *client)
+static void fsa4480_remove(struct i2c_client *client)
{
struct fsa4480 *fsa = i2c_get_clientdata(client);
typec_mux_unregister(fsa->mux);
typec_switch_unregister(fsa->sw);
-
- return 0;
}
static const struct i2c_device_id fsa4480_table[] = {