]> git.baikalelectronics.ru Git - kernel.git/commit
n_hdlc: use __func__ and pr_ print helpers
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 08:41:13 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2020 09:24:34 +0000 (10:24 +0100)
commit1b629150069143e7bc00ac1084dbdfa078e5acb2
treea12f93695a76698478980a7a0216187a3a3b6f7a
parentc810c10133abf83770a8ca86f1095c2fb89f0baa
n_hdlc: use __func__ and pr_ print helpers

* we mark the message in n_hdlc_tty_receive as error
* we use __func__ instead of explicit function name
* we switch the remaining prints to pr_* helpers

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