OSDN Git Service

via-velocity: Use more typical logging styles
authorJoe Perches <joe@perches.com>
Tue, 4 Aug 2020 03:23:13 +0000 (20:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 19:54:49 +0000 (12:54 -0700)
commit93f4ddd64b7dca8279ad052e0d58d92b67c33907
tree3e16f85eaa9b91844171d9e7bd71010e990db841
parenta79da6953e2f5dcc8a4611ce8ebe809d6fe70459
via-velocity: Use more typical logging styles

Use netdev_<level> in place of VELOCITY_PRT.
Use pr_<level> in place of printk(KERN_<LEVEL>.

Miscellanea:

o Add pr_fmt to prefix pr_<level> output with "via-velocity: "
o Remove now unused functions and macros
o Realign some logging lines
o Remove devname where pr_<level> is also used

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-velocity.c
drivers/net/ethernet/via/via-velocity.h