staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err
authorLeo Kim <leo.kim@atmel.com>
Mon, 22 Feb 2016 04:11:48 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
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>
drivers/staging/wilc1000/linux_mon.c

index 558fb508cc8aea9202488d2ad53f23ea40873e68..2b575d14ed5dbe0bcf21a496f457b41726342c04 100644 (file)
@@ -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);