diff options
author | 2011-10-31 10:34:01 +0800 | |
---|---|---|
committer | 2011-12-20 18:50:55 +0100 | |
commit | 9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c (patch) | |
tree | 04dca1af71f848a6895aed8f3c6ed6b4a79993d9 /drivers/mfd | |
parent | Linux 3.2-rc6 (diff) | |
download | linux-9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c.tar.gz linux-9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c.tar.bz2 linux-9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c.zip |
mfd: Add missed free_irq in da903x_remove
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/da903x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index 1b79c37fd599..62ce685a79cb 100644 --- a/drivers/mfd/da903x.c +++ b/drivers/mfd/da903x.c @@ -549,6 +549,7 @@ static int __devexit da903x_remove(struct i2c_client *client) struct da903x_chip *chip = i2c_get_clientdata(client); da903x_remove_subdevs(chip); + free_irq(client->irq, chip); kfree(chip); return 0; } |