staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err
This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60959e53f8
commit
d892c97c88
@ -308,7 +308,7 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
|
||||
|
||||
ret = register_netdevice(wilc_wfi_mon);
|
||||
if (ret) {
|
||||
PRINT_ER(" register_netdevice failed (%d)\n", ret);
|
||||
netdev_err(real_dev, "register_netdevice failed\n");
|
||||
return NULL;
|
||||
}
|
||||
priv = netdev_priv(wilc_wfi_mon);
|
||||
|
Loading…
x
Reference in New Issue
Block a user