]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/misc/apds9802als.c
i2c: Remove obsolete cleanup for clientdata
[karo-tx-linux.git] / drivers / misc / apds9802als.c
index 0ed09358027ec3e74a29d1073f5d7c41398ab6b7..644d4cd071cc58eb2afc02d09b53bab2f5a3ff38 100644 (file)
@@ -251,7 +251,6 @@ static int apds9802als_probe(struct i2c_client *client,
 
        return res;
 als_error1:
-       i2c_set_clientdata(client, NULL);
        kfree(data);
        return res;
 }