From patchwork Thu Jun 9 08:42:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12875060 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CEC3C43334 for ; Thu, 9 Jun 2022 08:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6AKJ1Fogs5vRW+yI8q1v1fm3jTSJJwwH/a5QP+D/2gs=; b=glm8DDG0fqsuHf kerlD9GI165ZCt+eFbk/ShTXVAK1GZTIBnBlQ+AV45f6X1tSW2g02iGWJBPpN6PheISwzpwEbj1BV 2cjSb/lcS5cmdw6v7hBxmUMSuzvc1wmnl+cOKJKcDF6IkyWNtvi+QeUkm03pvwNfZRT2hhx8cAtOY tKwIWyFN+Y0J5/ttdTgEfSmw4yOdDOHdJr4EWq7OQpIaY4RAYt9w7f4Yo1ietUcuo1Ujq+QPuT4UM WKs1VkJlwQ9oV92RFjt9icSHMdk29WNsWrez6ZJeERKJwFqTPvRCEyjbdNU/YL2+aaIzB9lWtC4c4 zHVEX7fsrqsk4Z6lVqCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzDxj-000RwY-9h; Thu, 09 Jun 2022 08:56:19 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzDiO-000Jpc-FB for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 08:40:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1654764029; x=1686300029; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Oaa6POuTrFoq1Nmz2rF5KjdgtPVUEHRqWrgwki6jQ5E=; b=HfDVMtmKPdlF4mo3+5PDasWxmo6HCBN1hrbL/SVhBaANTr+uXOBCprsN F3Ow+McRcibNomZtwAZe4NUJbNvfAUQ10wl03yJ3SjE1Kq8dfVz4HlL9d i/e1QgcGgYJsq5m59T8Ial9csk5uZFot2kimd51j9Bimul0o6iMh233u0 ISsUcGHuMAJhzZp+olkWirUCMle+7K/Sm3dNIPHWObKtc8ZPlUv7FeimH UEnbKs4eMU6IdEDpMfZmScHbRC47DDedej3ptqv0iKbIlu6JcgzdpxdEt 3/hqh7HUz5mh/51rKj6kbCq6YjzkShONb/tjMHDu5UwHcEA9YoLsP+TuK Q==; X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="167405374" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jun 2022 01:40:28 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 9 Jun 2022 01:40:26 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 9 Jun 2022 01:40:23 -0700 From: Claudiu Beznea To: , , , CC: , , , Claudiu Beznea Subject: [PATCH 3/3] spi: atmel-quadspi: align condition to parenthesis Date: Thu, 9 Jun 2022 11:42:46 +0300 Message-ID: <20220609084246.1795419-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220609084246.1795419-1-claudiu.beznea@microchip.com> References: <20220609084246.1795419-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_014028_570212_851A960C X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Align condition to parenthesis. Signed-off-by: Claudiu Beznea --- drivers/spi/atmel-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c index dea8a0311aaa..976a217e356d 100644 --- a/drivers/spi/atmel-quadspi.c +++ b/drivers/spi/atmel-quadspi.c @@ -286,7 +286,7 @@ static bool atmel_qspi_supports_op(struct spi_mem *mem, /* special case not supported by hardware */ if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth && - op->dummy.nbytes == 0) + op->dummy.nbytes == 0) return false; return true;