mfd: Add missed free_irq in da903x_remove
authorAxel Lin <axel.lin@gmail.com>
Mon, 31 Oct 2011 02:34:01 +0000 (10:34 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Dec 2011 17:50:55 +0000 (18:50 +0100)
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>
drivers/mfd/da903x.c

index 1b79c37..62ce685 100644 (file)
@@ -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;
 }