diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-01 00:07:09 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-01 00:07:09 +0200 |
commit | 08fa16b6b75005c120b59d00ae42a0b7cc68db45 (patch) | |
tree | c5f22412467f72dd0c7291bbb958a9485e894f02 /drivers/mfd/adp5520.c | |
parent | Input: lm8323 - fix error handling in lm8323_probe() (diff) | |
parent | Linux 2.6.35-rc3 (diff) | |
download | linux-08fa16b6b75005c120b59d00ae42a0b7cc68db45.tar.xz linux-08fa16b6b75005c120b59d00ae42a0b7cc68db45.zip |
Merge commit 'v2.6.35-rc3' into next
Diffstat (limited to 'drivers/mfd/adp5520.c')
-rw-r--r-- | drivers/mfd/adp5520.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/adp5520.c b/drivers/mfd/adp5520.c index 005532865654..3122139b4300 100644 --- a/drivers/mfd/adp5520.c +++ b/drivers/mfd/adp5520.c @@ -302,7 +302,6 @@ out_free_irq: free_irq(chip->irq, chip); out_free_chip: - i2c_set_clientdata(client, NULL); kfree(chip); return ret; @@ -317,7 +316,6 @@ static int __devexit adp5520_remove(struct i2c_client *client) adp5520_remove_subdevs(chip); adp5520_write(chip->dev, ADP5520_MODE_STATUS, 0); - i2c_set_clientdata(client, NULL); kfree(chip); return 0; } |