From patchwork Thu Apr 4 18:52:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nilesh Hase X-Patchwork-Id: 10886097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A426C15AC for ; Thu, 4 Apr 2019 18:53:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D5E928A68 for ; Thu, 4 Apr 2019 18:53:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C44B28A61; Thu, 4 Apr 2019 18:53:36 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 2101028A61 for ; Thu, 4 Apr 2019 18:53:36 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=m7hIJno5GUWmjdOmJx6ZreM8C1OfaxCA+RD9WBJDsdM=; b=D4rJ0TB4XAzyMo qYxoRgygA//2SR24eLu/0JKep8Wva4nzMjf89VRJdKI5H0iE/56qYWO/HS2clE7My1sz2X1AUl1to qKSxdoRmeo9L7yx9+6HOo7tyb/3AODF9MUE23HGC3VISADJj+nUTCpOhfDiZOAf+siPacmjFv8ID/ Bf/DG6lHTXxT9dr2nGXUAp18/+GX9VYQVY6osN63clu4LiwglRllihWGIN5OR7iatj3PzIt0JgFsL Ehm9Uf1i9APvLX0lzqq4RCUagKlU20c8htVD8bHwPAKWkLIxBFb7mIreSCPLr/hnbm19O4GnrbgvN CyQ13gWDtql8bIVlnjJg==; 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 1hC7UV-0000RG-KE; Thu, 04 Apr 2019 18:53:35 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hC7US-0000QW-9x; Thu, 04 Apr 2019 18:53:33 +0000 Received: by mail-pl1-x642.google.com with SMTP id t16so1616844plo.0; Thu, 04 Apr 2019 11:53:31 -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:mime-version :content-transfer-encoding; bh=FLJbPseiuwJMFgFq/I1rSNLfkEyC4GN/4UjOVN+taJE=; b=XbpCQ7R9G/L06gwnGkqKpfRKIDJwHuCCUtccBEQ5UP6UwqcfMxH88cSwT/be3deJ3X 7ODLdAAnPzeQRs75fzPfdHkPCiEld8EDKD9vCgnJfMYDgOXGH8GdFD48m39aZB/dDu11 dgKJuSiqaHeJ7ouaYPmMbLASvKaKVDXzMEEzXVBla/+KoOaRLIOmY79CBh+v0pmr30Vp eF13PQBo5UjNww1HGcMfptRJGa8c8oflw+kV8JWggJhAfGsrNpoABpN4cux8GRsO/bGj KbMpEXNZ/mHwvZxqZTBhcxnRCY23xLX2XQbOsgkHLy8vF7q0WZxHVi9hGPqkyPc+URdO OseQ== 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:mime-version :content-transfer-encoding; bh=FLJbPseiuwJMFgFq/I1rSNLfkEyC4GN/4UjOVN+taJE=; b=pSDi7bW7UjO8jmgvFjESZ2AektO2TeE81YkE8+A6cRCJ5uKJfsG/v3sMvt/rgDu6rs Gm8pKlbEGKcdIUUH7xWofTZNmtLSmdDe4kX9henye+UWtZoE4nH0Jt3UDsWy6/z+lcMT 1l7/fN9Ly+iPcRgqREAfaVkCVULNGhioOa9TomEIuA0M7ov4rjlufPeuMEU9lUXBkpc3 SGfmvBCLte0w/DDQJWEws297tzeq2fcWoCOu7xamfCpg+YmuW1LETsoXhb+eVnUD6TEa cMqcCtkvqX3hUxbVojOKqC4N3B+Yerd8tkGs1+WuaC0N3cUNgYRTW+oBLqNIxwsTJn9I nU6g== X-Gm-Message-State: APjAAAWGBknFaXm8bPUtmDcTNq0ra4r3VIn1iFymyDCs24zaakcqWEVn AdecQIZl9fIZh8qZpesoyN8= X-Google-Smtp-Source: APXvYqw60AjqzTrVwpqBOt5T3fr1w65Pz/oY02Skk5Pys5qAxEmcvmtgkURB2piIxKdgQ4feSDcNQA== X-Received: by 2002:a17:902:868e:: with SMTP id g14mr8104501plo.183.1554404011273; Thu, 04 Apr 2019 11:53:31 -0700 (PDT) Received: from localhost.localdomain ([2405:204:9681:c7ba:deef:ba65:b868:9005]) by smtp.gmail.com with ESMTPSA id u20sm10185056pfh.112.2019.04.04.11.53.29 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 11:53:30 -0700 (PDT) From: Nilesh Hase To: matthias.bgg@gmail.com Subject: [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues Date: Fri, 5 Apr 2019 00:22:36 +0530 Message-Id: <20190404185235.5257-1-nilhase25@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190404_115332_351202_14EA7D4C X-CRM114-Status: GOOD ( 10.73 ) 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, gregkh@linuxfoundation.org, Nilesh Hase , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, sankalpnegi2310@gmail.com, neil@brown.name, sr@denx.de, gch981213@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix checkpatch issues: "CHECK: Alignment should match open parenthesis" Signed-off-by: Nilesh Hase --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c index b509f9fe3346..6fa9876f5a92 100644 --- a/drivers/staging/mt7621-spi/spi-mt7621.c +++ b/drivers/staging/mt7621-spi/spi-mt7621.c @@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi) struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); if ((spi->max_speed_hz == 0) || - (spi->max_speed_hz > (rs->sys_freq / 2))) + (spi->max_speed_hz > (rs->sys_freq / 2))) spi->max_speed_hz = (rs->sys_freq / 2); if (spi->max_speed_hz < (rs->sys_freq / 4097)) {