i2c: Make remove callback return void
[sfrench/cifs-2.6.git] / sound / aoa / codecs / onyx.c
index 1abee841cc451f89d0936b46678c3bcda87e5860..2d0f904aba00f873959546e921b95500519902f4 100644 (file)
@@ -1029,7 +1029,7 @@ static int onyx_i2c_probe(struct i2c_client *client,
        return -ENODEV;
 }
 
-static int onyx_i2c_remove(struct i2c_client *client)
+static void onyx_i2c_remove(struct i2c_client *client)
 {
        struct onyx *onyx = i2c_get_clientdata(client);
 
@@ -1037,7 +1037,6 @@ static int onyx_i2c_remove(struct i2c_client *client)
        of_node_put(onyx->codec.node);
        kfree(onyx->codec_info);
        kfree(onyx);
-       return 0;
 }
 
 static const struct i2c_device_id onyx_i2c_id[] = {