From patchwork Wed Apr 3 19:31:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nilesh Hase X-Patchwork-Id: 10885891 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 35C0617EE for ; Thu, 4 Apr 2019 16:13:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12A0C28A95 for ; Thu, 4 Apr 2019 16:13:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06AAF28AB6; Thu, 4 Apr 2019 16:13:16 +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=-4.1 required=2.0 tests=BAYES_00,DATE_IN_PAST_12_24, 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 B1BC728A95 for ; Thu, 4 Apr 2019 16:13: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: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=BmEoZhnpkw1OBnsDaEZj2KA2a7NpJIyT9OnsXuPJj/M=; b=OeBMpi6XimEuZz UWwM7O7dwUlhNc5LUU3FJ2mSY2tjyT7rAnuUihA4nD3X2yZS6eFJG9iB9ogP6dj8MBCRLzagyRxKj Uk3+7Lcw5UmG5Tlqo0IV4XnE6BY2z+JKBpTCkx7DuJ2VHcDhC/jIzcIzKjI8iGDT8NDl4RtxF2Q0G qhzEAuUT94M9y2AG2//yHTbDtsNfcu9ZPFiEOWZsx6LlV4pLfFVa7DZK0ILsUTuyvoOFb1j7YMEuG x/7kLq9ki9HIfMNZwqxFRvjA+K5amHiY/qCA1TSP6FIVFGtHizcE03p8S81llFjXQ5uA3gdaTFDf1 OQtoXaYmJq7msGSNOovw==; 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 1hC4zK-00006s-Uv; Thu, 04 Apr 2019 16:13:14 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hC4zH-00006P-Mv; Thu, 04 Apr 2019 16:13:12 +0000 Received: by mail-pf1-x443.google.com with SMTP id 8so1607160pfr.4; Thu, 04 Apr 2019 09:13:11 -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=TYyeiQLL73tEM/u50L/tx+FHr1FUO0o/H2RVwcC12A0=; b=E9uq1pgMKWm6hxKKCzFDwA8icMbuzNd/D7sKhUDXQ/BDu79Odyz+1dWRAZ1rlcgrv7 PwQXAx251zhxWx5dPpSjVvBF95ymHXS855YoOZ7B0KQEsxdbdMUebEqfDacC4NG6INtg P6Qons//YqdYx8sUjTo+SvlLlQapTqB8HYRT2qfIBxtaIf3cgy8CSzWr9je5+SMDGxPJ Pj7vTP7/ciw5k86VV7Z/BmVWg678iEJXm/+MQfBPrWTBKXorOn9hO1VBeEdLMGdbnqEo QcGv/1RTgY4XpVJN+ZjYs0uJq4v36/r1noldIGrK2TDDKhMt7FlksDJi0s7Ma18SuGcy x0Jw== 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=TYyeiQLL73tEM/u50L/tx+FHr1FUO0o/H2RVwcC12A0=; b=OX3KS3N1Jxq+opu8OlocAs1ESxzMUy9wg9pK8agqGlrm4nrj7+CNVMP22BO3wDfiZL V1EEKJa/oydRl//qoKKZaeFs/GI2Q4fE09PE2fi3Y0AkLYDahqNTPifLaVyYLt9CGeAS /WiFbT6b30np1hP4UQHKf5REBZ2WMM4BQnSEFExQysff3PnQc0RJQScttFe6O6NDh60f BxAw6S1msmihywAlBvY5FViA1ZetwxRW5e7W8Qlx08fo/pny+9XkzpSL9IcaSTsLo1o0 VuFjdIzMDTcqkSjSe41+naWLnKfbeTeuHVSa3YGlWKuAWymUm6Bu9U/j6sp0DuwY4lRu 1AHA== X-Gm-Message-State: APjAAAUpEVGDt75GLwEb1ynLEws7vMT9B3JnOVgnNGF1+5oSCrAAPllh Bdx7ksbvPNwCQjHyfYu0jGM= X-Google-Smtp-Source: APXvYqymu8xV98295h044l/TmWIuGnlvH5wX/hIriNKRBYKHx3vda37Ev7l/oBw9UBFwZ1/woz3zDg== X-Received: by 2002:a62:62c3:: with SMTP id w186mr6728151pfb.73.1554394390701; Thu, 04 Apr 2019 09:13:10 -0700 (PDT) Received: from localhost.localdomain ([2405:204:9681:c7ba:deef:ba65:b868:9005]) by smtp.gmail.com with ESMTPSA id c17sm28507738pfd.76.2019.04.04.09.13.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 09:13:10 -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: Thu, 4 Apr 2019 01:01:07 +0530 Message-Id: <20190403193107.23873-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_091311_774650_B39F70B0 X-CRM114-Status: GOOD ( 10.56 ) 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 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)) {