[PATCH] uml: complete hw_controller_type->release conversion
This occurrence of free_irq_by_irq_and_dev() was missed when converting UML to the use of hw_controller_type->release. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
dbce706e25
commit
faec1e99ba
|
@ -756,7 +756,6 @@ static void unregister_winch(struct tty_struct *tty)
|
||||||
if(winch->pid != -1)
|
if(winch->pid != -1)
|
||||||
os_kill_process(winch->pid, 1);
|
os_kill_process(winch->pid, 1);
|
||||||
|
|
||||||
free_irq_by_irq_and_dev(WINCH_IRQ, winch);
|
|
||||||
free_irq(WINCH_IRQ, winch);
|
free_irq(WINCH_IRQ, winch);
|
||||||
list_del(&winch->list);
|
list_del(&winch->list);
|
||||||
kfree(winch);
|
kfree(winch);
|
||||||
|
|
Loading…
Reference in a new issue