diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-09-30 14:14:22 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-09-30 14:14:22 +0200 |
commit | 59bfee6e0682635c269fb271422e2595fa441c21 (patch) | |
tree | f7d137a35f8ae676c652e37650e8f049bae62e2c /drivers/misc | |
parent | Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs (diff) | |
download | linux-59bfee6e0682635c269fb271422e2595fa441c21.tar.xz linux-59bfee6e0682635c269fb271422e2595fa441c21.zip |
i2c: Remove obsolete cleanup for clientdata
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/bh1780gli.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c index 714c6b487313..d5f3a3fd2319 100644 --- a/drivers/misc/bh1780gli.c +++ b/drivers/misc/bh1780gli.c @@ -190,7 +190,6 @@ static int __devexit bh1780_remove(struct i2c_client *client) ddata = i2c_get_clientdata(client); sysfs_remove_group(&client->dev.kobj, &bh1780_attr_group); - i2c_set_clientdata(client, NULL); kfree(ddata); return 0; |