diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-31 02:34:01 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 17:50:55 (GMT) |
commit | 9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c (patch) | |
tree | 04dca1af71f848a6895aed8f3c6ed6b4a79993d9 | |
parent | 384703b8e6cd4c8ef08512e596024e028c91c339 (diff) | |
download | linux-fsl-qoriq-9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c.tar.xz |
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>
-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 1b79c37..62ce685 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; } |