summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2013-11-01 08:53:33 -0400
committerDavid S. Miller <davem@davemloft.net>2013-11-02 01:19:24 -0400
commitb1a04a62f31713610e156a0b9e4c677234916c2a (patch)
treea3860977803d925d7b5eb6d5375f7e1610c5608b /drivers/net/ethernet/smsc
parentdcdf8710fbfab7dfe6ceab537df771ab900ec5f0 (diff)
downloadlinux-b1a04a62f31713610e156a0b9e4c677234916c2a.tar.bz2
smsc911x: replace printk with netdev_ calls
Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc')
-rw-r--r--drivers/net/ethernet/smsc/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c
index 01f8459c3213..8564f23a6796 100644
--- a/drivers/net/ethernet/smsc/smsc911x.c
+++ b/drivers/net/ethernet/smsc/smsc911x.c
@@ -2167,7 +2167,7 @@ static int smsc911x_init(struct net_device *dev)
udelay(1000);
if (to == 0) {
- pr_err("Device not READY in 100ms aborting\n");
+ netdev_err(dev, "Device not READY in 100ms aborting\n");
return -ENODEV;
}