intel-iommu: Fix 32-bit build warning with __cmpxchg()
[pandora-kernel.git] / drivers / mfd / 88pm860x-i2c.c
index c933b64..bc02e6b 100644 (file)
@@ -200,8 +200,6 @@ static int __devexit pm860x_remove(struct i2c_client *client)
 
        pm860x_device_exit(chip);
        i2c_unregister_device(chip->companion);
-       i2c_set_clientdata(chip->client, NULL);
-       i2c_set_clientdata(client, NULL);
        kfree(chip);
        return 0;
 }