From patchwork Sun Jun 3 16:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdun Nihaal X-Patchwork-Id: 10445459 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 A90EC6022E for ; Sun, 3 Jun 2018 16:03:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B8A3209CE for ; Sun, 3 Jun 2018 16:03:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F5C623B24; Sun, 3 Jun 2018 16:03:15 +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 1848228A37 for ; Sun, 3 Jun 2018 16:03:15 +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=jwjlcBBndeDTzHoNXm3eA+d42J61eWTdOknkHticoNg=; b=VT7aoMFPTUMsNoWJnu+ALuNkTN qGQxzXsYLoW/t+SxlDOqdTW8DXr9+cHM3ryjGUln24MAVSFlvO7npKisG9n8BhpTiz3brNDBRAFOX EDpfw/LAHiskVLu1PVAvoNn1Y0Ne9dzCXywKCtA+Y/0cZ95C0oQJbZyx5WnZGEpFXUqEACQTI2WME iNrfx2IlRe2YWTFlP9iCzZgYmU5e0w2jU+RnjWSVjUbAK+5I9v4uxDFl1zihOC3vDlsyO54a9GXsU kj/h+RhppYqrGepohYUm4wc7D8T3Uv1bwERGjfcr9/OaBi0aah6iHpIpDZrLZR2Ex/zb2tDf3M0TJ J7bIUYiA==; 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 1fPVTK-000104-0s for patchwork-linux-mediatek@patchwork.kernel.org; Sun, 03 Jun 2018 16:03:10 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPVRt-0008O8-3T; Sun, 03 Jun 2018 16:02:42 +0000 Received: by mail-pf0-x243.google.com with SMTP id v63-v6so14714533pfk.8; Sun, 03 Jun 2018 09:01:30 -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=K0YtUVhlxOZVOU5fyaOjZkSe8B/dgI8hhoGvhIuzEYo=; b=UMsp33AMWI0JlIR98bfZv49fhP7gIyppsuE8BYQpsdjZ9vQh6+B5Pza8wN3bPAwFU5 pUHgt1yMIIcnFQ4Bh99s6uiYFskSCeVgLteeEM4pbkeVxHtLO/ktoP7HH+/std2oOggo FRh9164kQEwXb+5DX8Y82aPbCrTxuQ/gi9nsbAkW4zmrcQBqGEkSxSzvje/eBoCQok6a xQ/63dqLAy3HPVV9jqBt18URd5moMk4wE2kusL1oyxR8ZmLAlB78MK8Sjjd9q1Kx4amj dRIw5I93S/JmOhW0w/U5bIGk3cN41PlgUGU/9cdhQFpH3dULaf+JMy2BV4xWMCL2gXb/ qLZQ== 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=K0YtUVhlxOZVOU5fyaOjZkSe8B/dgI8hhoGvhIuzEYo=; b=YO1w0R1Zr5+3sn8skp/TNDYrQJDKJqFeP/pEC9MUBW1QBNlIGYJbq0wIaIPSWjjMA9 4pk7Bi5cV/RUVQa8HtNyztTVCg3FZnZmQZJgYirpXmSyeVvncWqo73QUxOFZyQYGNRd9 7TTITOgBcO5S5txFci40XCfny2osx+zeSSv5qlVrSFgcUENCaEcH2u15nnNu94w59z9s JUPoravVO/1ZDqPrtwbx5tcaBxO6svtYG7eUv+K7ClWsD5WS8y0GRW3nieZ+WHrw/YJH MmebpE7yzB5gPb78hvEi8r9wSCRYaZlnvBPEuAiPUKngiN7Kdw73H+szPAirwKd6834Z TIKw== X-Gm-Message-State: ALKqPwdJ1UJSyiMjbAOqsOETxKb692DAsmDeQuqGDdll53wPaX0wFzs9 faZ6zv7u3J9xR0zH7LwfqQQ= X-Google-Smtp-Source: ADUXVKLMsFXCsNK9KJTgEqdHuHH4un2WtFKhpG8vzwnkk6g8yzzEycWoRMh7JSoCcmqvAxkm/EwYyA== X-Received: by 2002:aa7:85c9:: with SMTP id z9-v6mr11530626pfn.55.1528041690102; Sun, 03 Jun 2018 09:01:30 -0700 (PDT) Received: from nihaal-Latitude-E6410 ([157.50.194.246]) by smtp.gmail.com with ESMTPSA id 4-v6sm3849379pfi.78.2018.06.03.09.01.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 09:01:29 -0700 (PDT) From: Abdun Nihaal To: gregkh@linuxfoundation.org Subject: [PATCH 7/7] staging: mt7621-pci: fix coding style error Date: Sun, 3 Jun 2018 21:30:04 +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_090141_145121_6D9CA44E X-CRM114-Status: GOOD ( 10.07 ) 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: that open brace { should be on the previous line Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 510aa633589a..96cae1e1838b 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -663,8 +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); RALINK_CLKCFG1 = (RALINK_CLKCFG1 & ~RALINK_PCIE0_CLK_EN); @@ -675,8 +674,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); RALINK_CLKCFG1 = (RALINK_CLKCFG1 & ~RALINK_PCIE1_CLK_EN);