From patchwork Tue Jan 12 00:32:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8013001 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 AD0C0BEEE5 for ; Tue, 12 Jan 2016 00:33:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E908A201F2 for ; Tue, 12 Jan 2016 00:33:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2161F201EC for ; Tue, 12 Jan 2016 00:33:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932642AbcALAdN (ORCPT ); Mon, 11 Jan 2016 19:33:13 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:32891 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932523AbcALAdM (ORCPT ); Mon, 11 Jan 2016 19:33:12 -0500 Received: by mail-pf0-f193.google.com with SMTP id e65so4187192pfe.0 for ; Mon, 11 Jan 2016 16:33:12 -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=lwzze4xn/EsMI7Q+87afIVEgBc2wbDWdPTUQ8/9wR0E=; b=LLsc3EK2nShaWTbxp7a3Zwxr6v9kvRhxYgJBJfZ418nWETNfxo8NjbBEKLV7L6/Rsn gK/oQGB9E2TCZQ6KIyoOpz+ChER6WwWrC8q1680C+rMAYMdaAHjcJ9yMInMyB5a5tvpV LQid0pA/0v9aLvKCgtaPeR/Vfnr7fJULBEPOwKE/ndMpFl4EVnTdMB3h+AXhpPrRptEx 3sycnfSEFeHU4zFXL6mCRwjqpg/+D9xtSmDItCTxOUlb1PoEA+qbNxWjqxnutBK4ulnb 2VN6BImzIKb2X+DkwD+czHvO8rKtW9OZvvhBN2JR3Sl5XemxDcwQw54qHTFueBlPoIox Mfkg== X-Received: by 10.98.43.88 with SMTP id r85mr30056597pfr.7.1452558792234; Mon, 11 Jan 2016 16:33:12 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id c86sm25747002pfd.75.2016.01.11.16.33.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jan 2016 16:33:11 -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 3/5] staging: wilc1000: remove typedef from struct wilc_cfg_hword_t Date: Tue, 12 Jan 2016 09:32:53 +0900 Message-Id: <1452558775-21532-3-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452558775-21532-1-git-send-email-chaehyun.lim@gmail.com> References: <1452558775-21532-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.8 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 removes typedef from struct wilc_cfg_hword_t and renames it to wilc_cfg_hword. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index 54b394c..003f2af 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -87,7 +87,7 @@ static struct wilc_cfg_byte g_cfg_byte[] = { {WID_NIL, 0} }; -static wilc_cfg_hword_t g_cfg_hword[] = { +static struct wilc_cfg_hword g_cfg_hword[] = { {WID_LINK_LOSS_THRESHOLD, 0}, {WID_RTS_THRESHOLD, 0}, {WID_FRAG_THRESHOLD, 0}, diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index d978615..aed7b80 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -15,10 +15,10 @@ struct wilc_cfg_byte { u16 val; }; -typedef struct { +struct wilc_cfg_hword { u16 id; u16 val; -} wilc_cfg_hword_t; +}; typedef struct { u32 id;