mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 17:00:08 -04:00
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:
committed by
Greg Kroah-Hartman
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);
|
||||
|
||||
Reference in New Issue
Block a user