smc91x: replace printk with netdev_ calls

Also snipes some whitespace errors.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ben Boeckel
2013-11-01 08:53:31 -04:00
committed by David S. Miller
parent 3ee307dee2
commit 6389aa458e
2 changed files with 118 additions and 123 deletions

View File

@@ -907,8 +907,8 @@ static const char * chip_ids[ 16 ] = {
({ \
int __b = SMC_CURRENT_BANK(lp); \
if (unlikely((__b & ~0xf0) != (0x3300 | bank))) { \
printk( "%s: bank reg screwed (0x%04x)\n", \
CARDNAME, __b ); \
pr_err("%s: bank reg screwed (0x%04x)\n", \
CARDNAME, __b); \
BUG(); \
} \
reg<<SMC_IO_SHIFT; \