From patchwork Tue Dec 16 13:57:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Vertz X-Patchwork-Id: 5500751 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 861669F326 for ; Tue, 16 Dec 2014 13:58:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9663720A22 for ; Tue, 16 Dec 2014 13:58:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80F4B20A21 for ; Tue, 16 Dec 2014 13:58:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751375AbaLPN6E (ORCPT ); Tue, 16 Dec 2014 08:58:04 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:47868 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbaLPN6D (ORCPT ); Tue, 16 Dec 2014 08:58:03 -0500 Received: by mail-wg0-f54.google.com with SMTP id l2so17551831wgh.27 for ; Tue, 16 Dec 2014 05:58:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=Pvb2WAl4kk7g79q9YykL+nXdqlLAz6/Xxy1xYZ3WA04=; b=Hh6Rz5GZQvvvcRZOYBNTuO/g9Lh60ve+1fEIyjtQW9HLvSND74g0DE+9lJnXXT3tQl elaGr8H7Y6N4ugnyYvFmc6tdaYTrxQprVJiC1FdkFP/aNeEDR0wirN5VY2CXO+qp+tAP iAjgFd47cP9mrz/wnDcNINekaR17W9TMftUpYWr1kfvIN8GqwjHMD6UYojx3vKz1xNm5 stu4aG8AIsho9YvTTNRK7CX3wxejpqv7iLowND8FpFdsMiho0RvJTm70KaHn/ofwO7lC SfSu9SFb36hvU5bbStCLcbWzYs3EY80nFDGAMy6AM/TQtgoO1jkWGg4/x28PfMOPUEAL V5WA== X-Gm-Message-State: ALoCoQn710srrVpKh9USIPXl/qit8MWOwV9upWAt6twCGckMl10V8/0OJLTU3AXJPOMgfFa1rolD X-Received: by 10.180.72.199 with SMTP id f7mr1020796wiv.53.1418738281799; Tue, 16 Dec 2014 05:58:01 -0800 (PST) Received: from localhost (82.166.131.121.fix.netvision.net.il. [82.166.131.121]) by mx.google.com with ESMTPSA id cp4sm1210567wjb.16.2014.12.16.05.58.00 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 16 Dec 2014 05:58:00 -0800 (PST) Date: Tue, 16 Dec 2014 15:57:58 +0200 From: Asaf Vertz To: Larry.Finger@lwfinger.net, Jes.Sorensen@redhat.com Cc: gregkh@linuxfoundation.org, ninox@posteo.net, tapaswenipathak@gmail.com, gdonald@gmail.com, cmroliv@gmail.com, asaf.vertz@tandemg.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] staging: rtl8723au: core: fixing "foo * bar" should be "foo *bar" Message-ID: <20141216135758.GA32288@ubuntu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 Fixed a coding style error, "foo * bar" should be "foo *bar" Signed-off-by: Asaf Vertz Signed-off-by: Jes Sorensen --- Changes in v2: - fix ugly multiline arguments to the functions drivers/staging/rtl8723au/core/rtw_efuse.c | 32 ++++++--------------------- 1 files changed, 7 insertions(+), 25 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c index 81960e7..a6deddc 100644 --- a/drivers/staging/rtl8723au/core/rtw_efuse.c +++ b/drivers/staging/rtl8723au/core/rtw_efuse.c @@ -327,15 +327,9 @@ EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address) *---------------------------------------------------------------------------*/ void -EFUSE_Write1Byte( - struct rtw_adapter * Adapter, - u16 Address, - u8 Value); +EFUSE_Write1Byte(struct rtw_adapter *Adapter, u16 Address, u8 Value); void -EFUSE_Write1Byte( - struct rtw_adapter * Adapter, - u16 Address, - u8 Value) +EFUSE_Write1Byte(struct rtw_adapter *Adapter, u16 Address, u8 Value) { u8 Bytetemp = {0x00}; u8 temp = {0x00}; @@ -635,10 +629,7 @@ Efuse_ReadAllMap(struct rtw_adapter *pAdapter, u8 efuseType, u8 *Efuse) * *---------------------------------------------------------------------------*/ static void -efuse_ShadowRead1Byte( - struct rtw_adapter * pAdapter, - u16 Offset, - u8 *Value) +efuse_ShadowRead1Byte(struct rtw_adapter *pAdapter, u16 Offset, u8 *Value) { struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter); @@ -647,10 +638,7 @@ efuse_ShadowRead1Byte( /* Read Two Bytes */ static void -efuse_ShadowRead2Byte( - struct rtw_adapter * pAdapter, - u16 Offset, - u16 *Value) +efuse_ShadowRead2Byte(struct rtw_adapter *pAdapter, u16 Offset, u16 *Value) { struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter); @@ -660,10 +648,7 @@ efuse_ShadowRead2Byte( /* Read Four Bytes */ static void -efuse_ShadowRead4Byte( - struct rtw_adapter * pAdapter, - u16 Offset, - u32 *Value) +efuse_ShadowRead4Byte(struct rtw_adapter *pAdapter, u16 Offset, u32 *Value) { struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(pAdapter); @@ -722,11 +707,8 @@ void EFUSE_ShadowMapUpdate23a(struct rtw_adapter *pAdapter, u8 efuseType) * *---------------------------------------------------------------------------*/ void -EFUSE_ShadowRead23a( - struct rtw_adapter * pAdapter, - u8 Type, - u16 Offset, - u32 *Value) +EFUSE_ShadowRead23a(struct rtw_adapter *pAdapter, + u8 Type, u16 Offset, u32 *Value) { if (Type == 1) efuse_ShadowRead1Byte(pAdapter, Offset, (u8 *)Value);