]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/hwmon/lm95241.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
[net-next-2.6.git] / drivers / hwmon / lm95241.c
index 8fc8eb8cba47400fd23614a392b135949aab8c76..94741d42112da02ca902b2e87beacbe96aab3cd3 100644 (file)
@@ -399,7 +399,6 @@ static int lm95241_remove(struct i2c_client *client)
        hwmon_device_unregister(data->hwmon_dev);
        sysfs_remove_group(&client->dev.kobj, &lm95241_group);
 
-       i2c_set_clientdata(client, NULL);
        kfree(data);
        return 0;
 }