diff options
author | Joe Perches <joe@perches.com> | 2015-05-05 19:05:56 +0200 |
---|---|---|
committer | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2015-09-23 08:44:24 +0200 |
commit | 05a24b234b9dda3720208b74503f2cf1d05774ee (patch) | |
tree | 117e7e1908f427ed51b441deb0d2efed71d1d0d1 /drivers/net/arcnet/com20020_cs.c | |
parent | arcnet: Convert BUGMSG and BUGMSG2 to arc_prink and arc_cont (diff) | |
download | linux-05a24b234b9dda3720208b74503f2cf1d05774ee.tar.xz linux-05a24b234b9dda3720208b74503f2cf1d05774ee.zip |
arcnet: Convert printk to pr_<level>
Use the more current logging style.
Remove #define VERSION, use pr_info normally.
Add pr_fmt with "arcnet:" prefixes and KBUILD_MODNAME.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/com20020_cs.c')
-rw-r--r-- | drivers/net/arcnet/com20020_cs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/arcnet/com20020_cs.c b/drivers/net/arcnet/com20020_cs.c index 13fe53864383..854169489b68 100644 --- a/drivers/net/arcnet/com20020_cs.c +++ b/drivers/net/arcnet/com20020_cs.c @@ -31,6 +31,9 @@ * * ********************** */ + +#define pr_fmt(fmt) "arcnet:" KBUILD_MODNAME ": " fmt + #include <linux/kernel.h> #include <linux/ptrace.h> #include <linux/slab.h> @@ -47,8 +50,6 @@ #include <linux/io.h> -#define VERSION "arcnet: COM20020 PCMCIA support loaded.\n" - static void regdump(struct net_device *dev) { #ifdef DEBUG |