smsc911x: replace printk with netdev_ calls
authorBen Boeckel <mathstuf@gmail.com>
Fri, 1 Nov 2013 12:53:33 +0000 (08:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Nov 2013 05:19:24 +0000 (01:19 -0400)
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c

index 01f8459c321393342def894dbce875322eee3402..8564f23a679615b63df2059b9482444679193c72 100644 (file)
@@ -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;
        }