diff options
author | Joe Perches <joe@perches.com> | 2011-05-09 11:45:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-09 21:51:16 +0200 |
commit | 1c3319fb69c29376fe23c1aa0cd7cb6df91c7883 (patch) | |
tree | 9a1df34c216941bb9b6ecd1e81880bc28ed05f37 /drivers/net/tulip/dmfe.c | |
parent | tulip: Convert uses of KERN_DEBUG (diff) | |
download | linux-1c3319fb69c29376fe23c1aa0cd7cb6df91c7883.tar.xz linux-1c3319fb69c29376fe23c1aa0cd7cb6df91c7883.zip |
tulip: Use pr_<level> where appropriate
Use the current logging styles.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
-rw-r--r-- | drivers/net/tulip/dmfe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index 96e8541a76e9..468512731966 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c @@ -295,8 +295,7 @@ enum dmfe_CR6_bits { /* Global variable declaration ----------------------------- */ static int __devinitdata printed_version; static const char version[] __devinitconst = - KERN_INFO DRV_NAME ": Davicom DM9xxx net driver, version " - DRV_VERSION " (" DRV_RELDATE ")\n"; + "Davicom DM9xxx net driver, version " DRV_VERSION " (" DRV_RELDATE ")"; static int dmfe_debug; static unsigned char dmfe_media_mode = DMFE_AUTO; @@ -381,7 +380,7 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, DMFE_DBUG(0, "dmfe_init_one()", 0); if (!printed_version++) - printk(version); + pr_info("%s\n", version); /* * SPARC on-board DM910x chips should be handled by the main @@ -2203,7 +2202,7 @@ static int __init dmfe_init_module(void) { int rc; - printk(version); + pr_info("%s\n", version); printed_version = 1; DMFE_DBUG(0, "init_module() ", debug); |