mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
bfb07599da
commit
64ccd715d3
12 changed files with 12 additions and 12 deletions
|
@ -1025,7 +1025,7 @@ static void async_lcp_peek(struct asyncppp *ap, unsigned char *data,
|
|||
|
||||
static void __exit ppp_async_cleanup(void)
|
||||
{
|
||||
if (tty_register_ldisc(N_PPP, NULL) != 0)
|
||||
if (tty_unregister_ldisc(N_PPP) != 0)
|
||||
printk(KERN_ERR "failed to unregister PPP line discipline\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue