Merge tag 'usb-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[platform/kernel/linux-rpi.git] / drivers / usb / typec / tcpm / tcpci_rt1711h.c
index 5dc34f9..7b217c7 100644 (file)
@@ -385,12 +385,11 @@ static int rt1711h_probe(struct i2c_client *client,
        return 0;
 }
 
-static int rt1711h_remove(struct i2c_client *client)
+static void rt1711h_remove(struct i2c_client *client)
 {
        struct rt1711h_chip *chip = i2c_get_clientdata(client);
 
        tcpci_unregister_port(chip->tcpci);
-       return 0;
 }
 
 static const struct i2c_device_id rt1711h_id[] = {