i2c: Make remove callback return void
[sfrench/cifs-2.6.git] / sound / soc / codecs / rt286.c
index c4f7c4c2d7939b15bde36ffc04c4681b6335f41f..ceb56647e369e31f21e5000dd95e5dae55927f7c 100644 (file)
@@ -1249,14 +1249,12 @@ static int rt286_i2c_probe(struct i2c_client *i2c)
        return ret;
 }
 
-static int rt286_i2c_remove(struct i2c_client *i2c)
+static void rt286_i2c_remove(struct i2c_client *i2c)
 {
        struct rt286_priv *rt286 = i2c_get_clientdata(i2c);
 
        if (i2c->irq)
                free_irq(i2c->irq, rt286);
-
-       return 0;
 }