diff options
| -rw-r--r-- | drivers/mfd/da903x.c | 1 |
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) | |||
| 549 | struct da903x_chip *chip = i2c_get_clientdata(client); | 549 | struct da903x_chip *chip = i2c_get_clientdata(client); |
| 550 | 550 | ||
| 551 | da903x_remove_subdevs(chip); | 551 | da903x_remove_subdevs(chip); |
| 552 | free_irq(client->irq, chip); | ||
| 552 | kfree(chip); | 553 | kfree(chip); |
| 553 | return 0; | 554 | return 0; |
| 554 | } | 555 | } |
