From patchwork Fri Feb 12 14:04:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8292031 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C7C38BEEE5 for ; Fri, 12 Feb 2016 14:05:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 068C7203F3 for ; Fri, 12 Feb 2016 14:05:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25DE2203F1 for ; Fri, 12 Feb 2016 14:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752966AbcBLOFs (ORCPT ); Fri, 12 Feb 2016 09:05:48 -0500 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34411 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752922AbcBLOFW (ORCPT ); Fri, 12 Feb 2016 09:05:22 -0500 Received: by mail-pa0-f67.google.com with SMTP id yy13so3868221pab.1 for ; Fri, 12 Feb 2016 06:05:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FpfsTFHvskZb36deDnOsiFn4Y7nfMBepD5+S0wvYyjs=; b=G7rxRq0WKlLJgm3VEuIOj4e3BKZ9BWjV+I6lWnLM6YQaLcFwIF4jeYPuRoz67D/kXt kKh3+iZDhRSxBERpT3/8ZvOJm0osrHGE4ZQfkB7LJoAkIUBlHcBuIuB+1xHxfhWKx585 RK92FkC3gZLyVaQpFNFSGHGjYTw0XYSU1T7cKQLyKJW9uNqvwB8Tp8+5B1dqqJpbyOn0 IvRfpfG1+PBDQ8s3wjbwlQXUsnlZOipgAA/oon2CQwE4Yc2lmUwXGPpPzsNCx4ab2qNq 5/N+ZsePdrUuYPcxUJiVaWuD6PX67Hl+BhiJsy/TxSyEeGwnK7xTmqne5ZjKM+9WPYU7 AMxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FpfsTFHvskZb36deDnOsiFn4Y7nfMBepD5+S0wvYyjs=; b=SXJiq52eEzOIPI/ubTgPVkMnHM4zELPfSCTzRgdoMJgN1BY51vGxprngxCyyBRh8qc TMjk6NMrPedOYgZdFOApKQEGgUU0KbdIMxtcUSUWG76VBCAl+bWSANi9lrFK3CBJVms1 JVYvEF1PPLBYom0gv0ME087mp6mmR+lWIZiGf8F30oihEY36mtLUQ3Ew6Kbs8F9/Z85p heANB94q58cLoWH95zKY8xHI90mRMnUrFlAju2TIOHJ1L3WN6Vy3FEXtzTAqeR2e/LRR CyEiNIoUc9NpPC64SpM4wVgTQ05IS3wqH5atc/r36eIpCAVFU8FK6owGkQbgKUOMLZbA yWZA== X-Gm-Message-State: AG10YORzFgQ9XQrO+l93EAvuphkmqKag9djJ+71t3/RPga3H6Q1pfQn8kaXgdvgC+mdRNQ== X-Received: by 10.66.192.99 with SMTP id hf3mr2358328pac.132.1455285922511; Fri, 12 Feb 2016 06:05:22 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id u64sm19814147pfa.86.2016.02.12.06.05.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 06:05:21 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 11/11] staging: wilc1000: use netdev_err instead of PRINT_ER Date: Fri, 12 Feb 2016 23:04:47 +0900 Message-Id: <1455285887-29946-11-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> References: <1455285887-29946-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch uses netdev_err instead of PRINT_ER that is a custom debug print. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 10c5e4ef..a6bc8a4 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -314,7 +314,7 @@ static void handle_set_channel(struct wilc_vif *vif, wilc_get_vif_idx(vif)); if (ret) - PRINT_ER("Failed to set channel\n"); + netdev_err(vif->ndev, "Failed to set channel\n"); } static s32 handle_set_wfi_drv_handler(struct wilc_vif *vif,