Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:31593 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbcBVEoB (ORCPT ); Sun, 21 Feb 2016 23:44:01 -0500 From: Leo Kim To: CC: , , , , , , , , Subject: [PATCH RESEND 02/10] staging: wilc1000: replaces wilc_debug with netdev_err Date: Mon, 22 Feb 2016 13:41:11 +0900 Message-ID: <1456116079-7161-2-git-send-email-leo.kim@atmel.com> (sfid-20160222_054405_068976_27B3FAEA) In-Reply-To: <1456116079-7161-1-git-send-email-leo.kim@atmel.com> References: <1456116079-7161-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 wilc_debug with netdev_err. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 90b6528..0843ccf 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1389,18 +1389,18 @@ static u32 init_chip(struct net_device *dev) if ((chipid & 0xfff) != 0xa0) { ret = wilc->hif_func->hif_read_reg(wilc, 0x1118, ®); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail read reg 0x1118 ...\n"); + netdev_err(dev, "fail read reg 0x1118\n"); return ret; } reg |= BIT(0); ret = wilc->hif_func->hif_write_reg(wilc, 0x1118, reg); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail write reg 0x1118 ...\n"); + netdev_err(dev, "fail write reg 0x1118\n"); return ret; } ret = wilc->hif_func->hif_write_reg(wilc, 0xc0000, 0x71); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail write reg 0xc0000 ...\n"); + netdev_err(dev, "fail write reg 0xc0000\n"); return ret; } } -- 1.9.1