From: Ben Boeckel Date: Fri, 1 Nov 2013 12:53:33 +0000 (-0400) Subject: smsc911x: replace printk with netdev_ calls X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1a04a62f31713610e156a0b9e4c677234916c2a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git smsc911x: replace printk with netdev_ calls Signed-off-by: Ben Boeckel Signed-off-by: David S. Miller --- 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; }