From patchwork Tue Jan 12 00:32:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8013011 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 49742BEEE5 for ; Tue, 12 Jan 2016 00:33:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72726201EF for ; Tue, 12 Jan 2016 00:33:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 926F3201EC for ; Tue, 12 Jan 2016 00:33:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932704AbcALAdR (ORCPT ); Mon, 11 Jan 2016 19:33:17 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36339 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932523AbcALAdP (ORCPT ); Mon, 11 Jan 2016 19:33:15 -0500 Received: by mail-pf0-f194.google.com with SMTP id n128so4171444pfn.3 for ; Mon, 11 Jan 2016 16:33:15 -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=qnqdYjSNRQrYovBsKSHOMwkLMlbt7Lidsm4TZ3hbKgc=; b=ZqzTIVTFxohkY79MXz5YEOU1xAcx/l4/e2k1mPWrTNWHjeZpu9bOGo3S8izQzqj4yM FAvzgjTM4dbWlqJL40uU/QJsGAtyug0WsBSt2TAog/OZofmF1sM6OgUiZGQvpV6dG7r3 c3j3uK94PYyV5YZYITnLMnK+ICTxZlJriW2rWn+rF7FQEn0+87osh/A8YT8UJF3JOd02 y3UjmfQmEkmczvEx5rTHFnmAowb0O0UBn44FZqnJY0/1eyj5x0wXjiWFqii2xAnaAzzK 8p4tUG/i5jbI6S5ezKT0n59N90wEpEwbS4YgZm9NzKwEhMHirtvRULzNp1i7MpiXcXzr bxzg== X-Received: by 10.98.8.28 with SMTP id c28mr30440723pfd.56.1452558795321; Mon, 11 Jan 2016 16:33:15 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id c86sm25747002pfd.75.2016.01.11.16.33.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jan 2016 16:33:14 -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 4/5] staging: wilc1000: remove typedef from struct wilc_cfg_word_t Date: Tue, 12 Jan 2016 09:32:54 +0900 Message-Id: <1452558775-21532-4-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_word_t and renames it to wilc_cfg_word. 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 003f2af..94193b3 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -108,7 +108,7 @@ static struct wilc_cfg_hword g_cfg_hword[] = { {WID_NIL, 0} }; -static wilc_cfg_word_t g_cfg_word[] = { +static struct wilc_cfg_word g_cfg_word[] = { {WID_FAILED_COUNT, 0}, {WID_RETRY_COUNT, 0}, {WID_MULTIPLE_RETRY_COUNT, 0}, diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index aed7b80..f51091e 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -20,10 +20,10 @@ struct wilc_cfg_hword { u16 val; }; -typedef struct { +struct wilc_cfg_word { u32 id; u32 val; -} wilc_cfg_word_t; +}; typedef struct { u32 id;