diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-31 10:34:01 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 18:50:55 +0100 |
commit | 9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c (patch) | |
tree | 04dca1af71f848a6895aed8f3c6ed6b4a79993d9 /drivers | |
parent | 384703b8e6cd4c8ef08512e596024e028c91c339 (diff) |
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')
-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; } |