From d892c97c889a775fa88c16f00922403def56a2c5 Mon Sep 17 00:00:00 2001 From: Leo Kim Date: Mon, 22 Feb 2016 13:11:48 +0900 Subject: [PATCH] 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 --- drivers/staging/wilc1000/linux_mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2