Staging: ipack/devices/ipoctal: free the IRQ.
As the IRQ was requested by the driver, it should free it also. Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ca8481c23c
commit
690949e7fa
1 changed files with 2 additions and 0 deletions
|
@ -803,6 +803,8 @@ static void __ipoctal_remove(struct ipoctal *ipoctal)
|
|||
{
|
||||
int i;
|
||||
|
||||
ipoctal->dev->bus->ops->free_irq(ipoctal->dev);
|
||||
|
||||
for (i = 0; i < NR_CHANNELS; i++) {
|
||||
tty_unregister_device(ipoctal->tty_drv, i);
|
||||
tty_port_free_xmit_buf(&ipoctal->tty_port[i]);
|
||||
|
|
Loading…
Reference in a new issue