From patchwork Fri Feb 5 01:35:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8229931 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 38D8CBEEE5 for ; Fri, 5 Feb 2016 01:35:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C4D9202F2 for ; Fri, 5 Feb 2016 01:35:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74261202BE for ; Fri, 5 Feb 2016 01:35:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751876AbcBEBfl (ORCPT ); Thu, 4 Feb 2016 20:35:41 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35354 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbcBEBfj (ORCPT ); Thu, 4 Feb 2016 20:35:39 -0500 Received: by mail-pa0-f53.google.com with SMTP id ho8so24918955pac.2 for ; Thu, 04 Feb 2016 17:35:39 -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=0l6TJ7p7lsPMXiapJUYtUv4nwVJXTkWwHOunkQh9XBk=; b=UZILXYORdR3A1CTvI4AYRV3DgdjJfbzANevkFkg5vj036qlONgwz82DZu+cYhTEWXY S09flQlB2jQ13eoOfMDbIPoxpF7J1ETZzOZYw2jJzVWulmq+zYf+w6drKd+0GCKir0hK TkREWR+jIxROMhN6XhFRUpY7eQY/VcrRjQP5XATf3bYFcG8O4xYj4lSENqQFsO2dbOC/ 07VCMWD1LvLjuNbNZuZ5GalzAWeHyYOW9J0wtNkdYNnnwAylE0XPE3rrXAcE8H6Q2vKZ sj90dThN12PuD6FD38xxJa5fRFjZ1sGkf72xJoEtCntEpxyD0ELIRNMObmoPFwfEooXX yuyA== 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=0l6TJ7p7lsPMXiapJUYtUv4nwVJXTkWwHOunkQh9XBk=; b=fbyE7m9+ugH7MvFsOneDXaVdSRkg2f1duLcpkVyRyzjhgax5N5pmW10m3yEKNx5o4y z/vVwE4Py/RC2EClsyaEencWhmkXyWE4nqCwpQopGtjbFC1vaOvqo1Y54LdoxL17+a0/ CRYq+AWVNwZ1A5AHqseQYxHVoW1LHZf8F+LBNmFmTspro6qbVyUVCGZopraMCNwZcG+0 RgMCqv5cVi+ZcJ/DT+jZPDRh5EniATh2I8y25v4q2bdfXQ3vMTmOp1qFGR4mAuTE9tMk hEt3N6ZT4/bvjeMUMLh/ki4XOO74PJIMTmoK/Mbb60MarXGb3OnmUE9w+bpK2rJQh8xT xh+A== X-Gm-Message-State: AG10YOTdW2dk7c1TXUzHkzHvHPe8/Q2tSPgYd/eTFIT2Z0tg2icRm6HOAzeVDZVJh/MXtw== X-Received: by 10.66.230.201 with SMTP id ta9mr16077224pac.52.1454636139602; Thu, 04 Feb 2016 17:35:39 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id 74sm19960478pfs.33.2016.02.04.17.35.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Feb 2016 17:35:39 -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 2/8] staging: wilc1000: rename pstrCfgParamVal in wilc_hif_set_cfg Date: Fri, 5 Feb 2016 10:35:12 +0900 Message-Id: <1454636118-9943-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454636118-9943-1-git-send-email-chaehyun.lim@gmail.com> References: <1454636118-9943-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=-7.2 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 renames pstrCfgParamVal to cfg_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index a5b7dd1..0f8175f 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3730,7 +3730,7 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type, } int wilc_hif_set_cfg(struct wilc_vif *vif, - struct cfg_param_val *pstrCfgParamVal) + struct cfg_param_val *cfg_param) { int result = 0; struct host_if_msg msg; @@ -3743,7 +3743,7 @@ int wilc_hif_set_cfg(struct wilc_vif *vif, memset(&msg, 0, sizeof(struct host_if_msg)); msg.id = HOST_IF_MSG_CFG_PARAMS; - msg.body.cfg_info.cfg_attr_info = *pstrCfgParamVal; + msg.body.cfg_info.cfg_attr_info = *cfg_param; msg.vif = vif; result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg)); diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index fe32a9a..4b19bf1 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -340,7 +340,7 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type, size_t ies_len, wilc_scan_result scan_result, void *user_arg, struct hidden_network *hidden_network); int wilc_hif_set_cfg(struct wilc_vif *vif, - struct cfg_param_val *pstrCfgParamVal); + struct cfg_param_val *cfg_param); int wilc_init(struct net_device *dev, struct host_if_drv **hif_drv_handler); s32 wilc_deinit(struct wilc_vif *vif); int wilc_add_beacon(struct wilc_vif *vif, u32 interval, u32 dtim_period,