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)
commitd86b05cb0e20a52a7e7bbfbcf116d3c792481b57
treea12f93695a76698478980a7a0216187a3a3b6f7a
parentb9c010dfe85e2e91bbf2b625b680f340346ad443
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