Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1361327yba; Thu, 4 Apr 2019 09:14:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrJk7Lmv7ywrmmmL9cZfFa7a8hncDpSZtlMy5o0AMzMY/q0Kig8qiFzQz3+Pl1dRXwTaWE X-Received: by 2002:aa7:8289:: with SMTP id s9mr6763504pfm.208.1554394451833; Thu, 04 Apr 2019 09:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554394451; cv=none; d=google.com; s=arc-20160816; b=wf5fSRUr8qLn9Wi4+Cv6c/GDbn2p7ichgZJfuh83A+SHYrHxN9dn6WrYFIUsPyIIaH VsekzZWoc3hvZbrvEIFhbVJnFRLNc5MX5rZy8Gu2ny3OirAZOzIiQ7PCZcHvGmE8J+yB 1OjjnERdcmECX+iLdfEVlSGYiJpE7oBzig+zEoWpd5obHmsu/4M1u/86hQ7f6wHp3xk1 q1b3WgMT3y0a6fMiFeyaw/nECN6EBvH6uLMmCXr9jEbTxLdyMNryF0Mte4Kq/nJf1g1V jwfyjBIrHHdo/PgL8jdEGGzEOCK8a00azvzs7WnQ3MN7lOpF+PkK7HrAGHsMLXtwIsoX 8j6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TYyeiQLL73tEM/u50L/tx+FHr1FUO0o/H2RVwcC12A0=; b=DHeXkiFAr5brmoWtZ39h2iO5LSVkMaJk8JvFNoAByVrTdi402lNTR02tBHcw/Wxdw8 JfrwDGX4Nz3DFqWTNE4guO9rEnSqsKU1a/t2ZSki8gulmVSyYwUkBCkS9LhS+gJ12UrG 1vkONh0mb/EndABIPnaSkFWuZgZlHcHj2aOGDAScwmHPGNTpByv+IR9J0KiSCXDnOrRg 7KDziMNe8OYgXG4RGA5jVbbN0dH2ZrLSzzm+DQUWwkSig/NjmG2ehxKKsMmnmZdP0kPC frM/eYxkjsDO4SWt9R4QZ3w0QlA9y97QpKYEnXJ+WmkZHlLKzb/a/cUGpq2m+0CH8VV9 lW9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E9uq1pgM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61si17385571plb.160.2019.04.04.09.13.55; Thu, 04 Apr 2019 09:14:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E9uq1pgM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbfDDQNL (ORCPT + 99 others); Thu, 4 Apr 2019 12:13:11 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:40021 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726790AbfDDQNL (ORCPT ); Thu, 4 Apr 2019 12:13:11 -0400 Received: by mail-pf1-f194.google.com with SMTP id c207so1600290pfc.7 for ; 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=a2/k1EUF5JIoSG2CJII7oP6g3rUw856KW4jU8+9BcfCWBtpTGaCwq3Ij+05addNgr6 sR2MChemH7Ol1EWkRMfCurnACKCj3UnT/Z2O8oMD1DuyzM1acB7dUj8pxT/xp8AcJT+b VMJcEK2M2YD8T1ptB8LSVgeyd/2yvGCiYvwVI/cS31a9OOTb3oJm8wOfGH/EPnrvVLSH XgjiXatVPNHqVEoNlhehE+g+Wf6Vry7VNjr5pjbWIyyX24jKOztTm1xtMaO93gHOxddf /GBcZiKN+rPrcJA5Rjx4mKaQv6trvA3QlIaJgLs2vnl/ADHZXSNKkx41hB4tM+zBt7xI Wlqg== X-Gm-Message-State: APjAAAWzm50PDecggPdaAd64f8MUW6ELCRJ7yWOr/ozqtkRs4JMBMlKR 1hVe3xa3a0gbarpIEcqho/U= 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 Cc: gregkh@linuxfoundation.org, neil@brown.name, sr@denx.de, sankalpnegi2310@gmail.com, gch981213@gmail.com, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Nilesh Hase 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)) { -- 2.20.1