i2c: Make remove callback return void
[sfrench/cifs-2.6.git] / sound / soc / codecs / tas6424.c
index 63d2983c3fcf4dd64839f8f07d8caf8a0f46ca00..f8ff69fa2549c9f3de436c18dde73fca9514b27e 100644 (file)
@@ -774,7 +774,7 @@ disable_regs:
        return ret;
 }
 
-static int tas6424_i2c_remove(struct i2c_client *client)
+static void tas6424_i2c_remove(struct i2c_client *client)
 {
        struct device *dev = &client->dev;
        struct tas6424_data *tas6424 = dev_get_drvdata(dev);
@@ -790,8 +790,6 @@ static int tas6424_i2c_remove(struct i2c_client *client)
                                     tas6424->supplies);
        if (ret < 0)
                dev_err(dev, "unable to disable supplies: %d\n", ret);
-
-       return 0;
 }
 
 static const struct i2c_device_id tas6424_i2c_ids[] = {