diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-06-23 00:10:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 09:45:36 -0700 |
commit | 64ccd715d3cf498318b14b646ce5f97e7ab15bb5 (patch) | |
tree | b43bdaeec1b1175fe80ffe3648b1a98a2e21317b /drivers/net/wan | |
parent | bfb07599da289881d3bcbb601a110e997fc7444b (diff) | |
download | linux-3.10-64ccd715d3cf498318b14b646ce5f97e7ab15bb5.tar.gz linux-3.10-64ccd715d3cf498318b14b646ce5f97e7ab15bb5.tar.bz2 linux-3.10-64ccd715d3cf498318b14b646ce5f97e7ab15bb5.zip |
[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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/x25_asy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 1c540d82555..bdf672c4818 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c @@ -829,7 +829,7 @@ static void __exit exit_x25_asy(void) } kfree(x25_asy_devs); - tty_register_ldisc(N_X25, NULL); + tty_unregister_ldisc(N_X25); } module_init(init_x25_asy); |