staging: wilc1000: handle_set_mac_address: use netdev_err

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>
This commit is contained in:
Chaehyun Lim 2016-02-16 17:39:55 +09:00 committed by Greg Kroah-Hartman
parent 47b89ad645
commit 9eab9a8f93

View 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);
}