From: Axel Lin Date: Mon, 31 Oct 2011 02:34:01 +0000 (+0800) Subject: mfd: Add missed free_irq in da903x_remove X-Git-Tag: firefly_0821_release~3680^2~3903^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ad33ba51a1ac29ba3cf90d95e4b7f7eba278f6c;p=firefly-linux-kernel-4.4.55.git mfd: Add missed free_irq in da903x_remove Signed-off-by: Axel Lin Acked-by: Eric Miao Signed-off-by: Samuel Ortiz --- 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; }