mfd: Add missed free_irq in da903x_remove
Subsystems (2)
PATCH 1/1 mfd: Add missed free_irq in da903x_remove
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/da903x.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/da903x.c +1 -0
@@ -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 ; }
Signature · 1 line
1.7.5.4
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Acked-by Eric Miao <[email protected]>
Quoted 22 lines
---
drivers/mfd/da903x.c | 1 +1 files changed, 1 insertions(+), 0 deletions(-)drivers/mfd/da903x.c +1
-1@@ -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; } --1.7.5.4
Hi Axel,
Quoted 4 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- drivers/mfd/da903x.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, I applied this one.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/