Commit 79f09fa7 authored by Michael Thalmeier's avatar Michael Thalmeier Committed by Samuel Ortiz

NFC: pn533: i2c: free irq on driver remove

The requested irq needs to be freed when removing the driver,
otherwise a following driver load fails to request the irq.
Signed-off-by: default avatarMichael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 3aacd7fe
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment