This patches replaces PRINT_ER with netdev_err.

Signed-off-by: Leo Kim <[email protected]>
---
 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 9edc6e9..3048e88 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);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to