]> Git Repo - linux.git/blobdiff - drivers/media/dvb-frontends/ts2020.c
i2c: Make remove callback return void
[linux.git] / drivers / media / dvb-frontends / ts2020.c
index 3e383912bcfd8f3025792bc8c1f59e6a3871e85c..02338256b974f79d9f90a728e28d51d92a5ca2f5 100644 (file)
@@ -696,7 +696,7 @@ err:
        return ret;
 }
 
-static int ts2020_remove(struct i2c_client *client)
+static void ts2020_remove(struct i2c_client *client)
 {
        struct ts2020_priv *dev = i2c_get_clientdata(client);
 
@@ -708,7 +708,6 @@ static int ts2020_remove(struct i2c_client *client)
 
        regmap_exit(dev->regmap);
        kfree(dev);
-       return 0;
 }
 
 static const struct i2c_device_id ts2020_id_table[] = {
This page took 0.03195 seconds and 4 git commands to generate.