staging: wilc1000: handle_set_mac_address: use netdev_err
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 16 Feb 2016 08:39:55 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:55:33 +0000 (16:55 -0800)
This patch uses netdev_err instead of PRINT_ER that is a custom debug
print.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index f946e00..3de4f99 100644 (file)
@@ -442,7 +442,7 @@ static void handle_set_mac_address(struct wilc_vif *vif,
        ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
                                   wilc_get_vif_idx(vif));
        if (ret)
-               PRINT_ER("Failed to set mac address\n");
+               netdev_err(vif->ndev, "Failed to set mac address\n");
 
        kfree(mac_buf);
 }