From: Leo Kim Date: Mon, 22 Feb 2016 04:11:48 +0000 (+0900) Subject: staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d892c97c889a775fa88c16f00922403def56a2c5;p=linux-beck.git staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 558fb508cc8a..2b575d14ed5d 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -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);