summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-31 03:34:01 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-12-20 18:50:55 +0100
commit9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c (patch)
tree04dca1af71f848a6895aed8f3c6ed6b4a79993d9 /drivers
parentLinux 3.2-rc6 (diff)
downloadlinux-9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c.tar.xz
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 '')
-rw-r--r--drivers/mfd/da903x.c1
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;
}