Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:29607 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbcBVEPF (ORCPT ); Sun, 21 Feb 2016 23:15:05 -0500 From: Leo Kim To: CC: , , , , , , , , Subject: [PATCH V3 03/24] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err Date: Mon, 22 Feb 2016 13:11:48 +0900 Message-ID: <1456114329-7036-4-git-send-email-leo.kim@atmel.com> (sfid-20160222_051509_922799_F34AACF7) In-Reply-To: <1456114329-7036-1-git-send-email-leo.kim@atmel.com> References: <1456114329-7036-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim --- 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 558fb50..2b575d1 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