[PATCH] Convert users to tty_unregister_ldisc()
tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bfb07599da
commit
64ccd715d3
@ -257,7 +257,7 @@ static int __init serport_init(void)
|
||||
|
||||
static void __exit serport_exit(void)
|
||||
{
|
||||
tty_register_ldisc(N_MOUSE, NULL);
|
||||
tty_unregister_ldisc(N_MOUSE);
|
||||
}
|
||||
|
||||
module_init(serport_init);
|
||||
|
Reference in New Issue
Block a user