i2c: Make remove callback return void
[linux-2.6-block.git] / sound / aoa / codecs / tas.c
index ab19a37e2a68e69d02837f9b692dd47084f10b9a..ab89475b7715ffbdfd5070a19b0460ea22df3a5c 100644 (file)
@@ -912,7 +912,7 @@ static int tas_i2c_probe(struct i2c_client *client,
        return -EINVAL;
 }
 
-static int tas_i2c_remove(struct i2c_client *client)
+static void tas_i2c_remove(struct i2c_client *client)
 {
        struct tas *tas = i2c_get_clientdata(client);
        u8 tmp = TAS_ACR_ANALOG_PDOWN;
@@ -925,7 +925,6 @@ static int tas_i2c_remove(struct i2c_client *client)
 
        mutex_destroy(&tas->mtx);
        kfree(tas);
-       return 0;
 }
 
 static const struct i2c_device_id tas_i2c_id[] = {