n_hdlc: cleanup messages during registration
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 08:40:59 +0000 (09:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2020 09:24:32 +0000 (10:24 +0100)
commitcda3756ca5c4308c4cb1110209f27b49a680409a
tree1c943fbe41f59caeddc51b0ed9fef8cb1b3461c1
parentaebe5fc3b5685e1d9b86cc8314a8e8f3c6f3284e
n_hdlc: cleanup messages during registration

1) n_hdlc prints two lines during registration. Squeeze it into one.
2) prefix the error message with "N_HDLC: ", so that it's clear which
   ldisc failed to register.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219084118.26491-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_hdlc.c