mirror of https://gitee.com/openkylin/linux.git
smsc911x: replace printk with netdev_ calls
Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dcdf8710fb
commit
b1a04a62f3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue