summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nfc/pn533/i2c.c')
-rw-r--r--drivers/nfc/pn533/i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c
index 9679aa52c381..1a622e1c0a73 100644
--- a/drivers/nfc/pn533/i2c.c
+++ b/drivers/nfc/pn533/i2c.c
@@ -236,6 +236,8 @@ static int pn533_i2c_remove(struct i2c_client *client)
pn533_unregister_device(phy->priv);
+ free_irq(client->irq, phy);
+
return 0;
}