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 1b79c37fd59901b882fc0b995e6182fe43a4eedb..62ce685a79cb5e73ae5cc02a9becd0b6f21781f7 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;
 }