staging: gdm724x: Update logging
authorJoe Perches <joe@perches.com>
Wed, 24 Jul 2013 21:13:03 +0000 (14:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:11:20 +0000 (15:11 -0700)
commit0ec473b5267d01762b610d57e168b0401a137f3a
treea60db6a702bd3664f189f3b64ecdd91d35b8a3ce
parentaee9440d78bda37ae07f27c862aee4ec8ddf97ea
staging: gdm724x: Update logging

Make the logging prefixes match the module names
by adding #define pr_fmt(fmt) KBUILD_MODNAME and
converting printks to netdev_<level> when a
struct netdevice * is available and and pr_<level>
when not.

Remove embedded prefixes.
Add missing terminating newlines.
Remove an unnecessary rx-dropped message.
Remove an unnecessary temporary variable.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_lte.c
drivers/staging/gdm724x/gdm_mux.c
drivers/staging/gdm724x/gdm_tty.c
drivers/staging/gdm724x/gdm_usb.c
drivers/staging/gdm724x/netlink_k.c