From patchwork Sun Jun 3 15:59:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdun Nihaal X-Patchwork-Id: 10445441 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 72D2B603B4 for ; Sun, 3 Jun 2018 16:01:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 623F228A37 for ; Sun, 3 Jun 2018 16:01:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5664628AEC; Sun, 3 Jun 2018 16:01:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F175D28A37 for ; Sun, 3 Jun 2018 16:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=gQcrVwexy5oQ79yB9M0/UAgyudHrgRm84I7fd+84L6Q=; b=EAM4XHmFPqTUZqkN5ABZY6TOzQ kroZg1tq/16GQEMglhVjBAulTiHWnJ4fuVx4raJxhs5E3v7uqOC188/Rja+nUdzdLvYJQGc7Z9c8x TIq9gn+S4NPsK8b+aFzc+u62uNJk4vway0Lh5RgwMeLmnRjeFbeIWh1eWCAvGxOEEixa36sGoV+Qz v0qOCQIZQLnU23OWCjFTcBtLVdwXY9YDLiOdq2Onu+T4qZVtkIw2qAqbYROzebAtmF2h1jKZ4r/l1 DxwS552K0h5DoyYyyFvZT/RaVbEKGjvk0SMerHf3r6yLI9K53Wyh4Zms0kSk3gS1eFfn1KvSJMUHF 3FspHO9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPVRd-0008Kp-Ad for patchwork-linux-mediatek@patchwork.kernel.org; Sun, 03 Jun 2018 16:01:25 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPVRS-000868-Vg; Sun, 03 Jun 2018 16:01:22 +0000 Received: by mail-pl0-x241.google.com with SMTP id i5-v6so18115535plt.2; Sun, 03 Jun 2018 09:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=R0H0LGu1fi/7/HSQtDCTT3RcEFh5aUswi0LO3EllCHg=; b=ZF9zMFdO5D5EhoDfTm994hc93yKPryk0uqtlIxO5ectf3ndrihWkdGnTFXzDHTXaC4 4VS1XbHqcgcP5m3y0hguFWWwCTgW0oCaGAuXF6aPCPW0MNVetFfliD9jKhAKVlx4Zh7P HViFQnNr81ofbrw1vp66NXsQCdo4xM8KZeWNAvCoE1BL92xjNgOStpdviEOnjIEwzutH Y9nRq6YLzN+AKBXL+5DU/kD68IaH9VGH3ONx7PXjauEtWSmS+WF8Gt6NaNqvrFNyUeAY H4SXX1FGr0A4t1CA/XXAgdaP5os712whp6qJa/E9Btv/YHIDREZaeHuK3B9AxB4uCmLv fwKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=R0H0LGu1fi/7/HSQtDCTT3RcEFh5aUswi0LO3EllCHg=; b=ccwp8mN1suyaO7UfmdK1+EuSqKbm7VERxoCsiQ/krxLchtDtVwOLEG/EHhWntUkJyR ceYdQuMrljx+5fw4YFxFHS3NAPHIEt8BZDNhTMY5EgkO1AdFt5kPW1P7DvwjNlWFZXyM Oc/Sez+eX8AGsFBrRR70qDScSpnsUZENyr5oYmy+8rJlYe++ER998gcMi98GTwWLxz2Y /mriDwUGH5v8j+X+PKxZoBouRIXzNlQYmfK6QfEwIx9PPe1T5G0iSXHmpIpPSqOAIAO9 sj44GTIVXBZbSv2gVH0Nm5FA4OOdsW8OCcsSngCYCBBYGNNpI9U8f+hz+KJkP7we/q58 AYtA== X-Gm-Message-State: ALKqPwclQ4DVZcy6kLM9b4vkL0Xagv0+CBjDv/Ct3N8lHyrFndLZYT3N IUUIUlY9Ub0tX4DFNip0ukQ= X-Google-Smtp-Source: ADUXVKJMV+KfOeKqXLfq+JT/8o1i3eYpYOAeyJaWkjzHq5f24jVEqLYCc8sDKTZ/iZQarkf6c+OjOA== X-Received: by 2002:a17:902:246a:: with SMTP id m39-v6mr9729135plg.141.1528041662818; Sun, 03 Jun 2018 09:01:02 -0700 (PDT) Received: from nihaal-Latitude-E6410 ([157.50.194.246]) by smtp.gmail.com with ESMTPSA id z83-v6sm88829595pfd.103.2018.06.03.09.01.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 09:01:02 -0700 (PDT) From: Abdun Nihaal To: gregkh@linuxfoundation.org Subject: [PATCH 1/7] staging: mt7621-pci: Remove space after open parenthesis Date: Sun, 3 Jun 2018 21:29:58 +0530 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180603_090115_052297_2C9274C8 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Abdun Nihaal , neil@brown.name, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes the following checkpatch error: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 1fa41eb8a87f..44f1a592a7a5 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -221,7 +221,7 @@ static int config_access(unsigned char access_type, struct pci_bus *bus, MV_WRITE(data_reg, *data); break; case PCI_ACCESS_READ_1: - MV_READ_8( data_reg+(where&0x3), data); + MV_READ_8(data_reg+(where&0x3), data); break; case PCI_ACCESS_READ_2: MV_READ_16(data_reg+(where&0x3), data); @@ -663,7 +663,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) mdelay(500); #if defined (CONFIG_PCIE_PORT0) - if(( RALINK_PCI0_STATUS & 0x1) == 0) + if((RALINK_PCI0_STATUS & 0x1) == 0) { printk("PCIE0 no card, disable it(RST&CLK)\n"); ASSERT_SYSRST_PCIE(RALINK_PCIE0_RST); @@ -675,7 +675,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) } #endif #if defined (CONFIG_PCIE_PORT1) - if(( RALINK_PCI1_STATUS & 0x1) == 0) + if((RALINK_PCI1_STATUS & 0x1) == 0) { printk("PCIE1 no card, disable it(RST&CLK)\n"); ASSERT_SYSRST_PCIE(RALINK_PCIE1_RST); @@ -687,7 +687,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) } #endif #if defined (CONFIG_PCIE_PORT2) - if (( RALINK_PCI2_STATUS & 0x1) == 0) { + if ((RALINK_PCI2_STATUS & 0x1) == 0) { printk("PCIE2 no card, disable it(RST&CLK)\n"); ASSERT_SYSRST_PCIE(RALINK_PCIE2_RST); RALINK_CLKCFG1 = (RALINK_CLKCFG1 & ~RALINK_PCIE2_CLK_EN);