From patchwork Thu Jan 25 14:49:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13530997 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 8A85AC47DDF for ; Thu, 25 Jan 2024 14:51:36 +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=iMhjh+IfK65W4LklvcMyYhuqJl25oAyAp9xAMaBsYXI=; b=QlN54GjGzD9uyq m85YHj0139xLvO3znXnuhKqmXm1kY2pN2oD5QnoupjiTRGz0tby07hCyteA4bt1qpttRP/3cucbkW blDD62vJXoDLMo1QkOKjal5IMF0/0MScUYaw9UKYtNK25mWCO2vfiTZJlf2CljVeS818XvqHkJm/b dITtYePhyMhUdz1dZZ98O51IWchXLmP0mqv86WbDDclmKtU6bHHX7tzATsGoP1R4Mixg7mwwpMJ+V DsH+qfTg8Hnf2MUxCMZsecfI33sd7SyrVnThHR9D5GOeRhN2448dkq1ItINj/Cml0M2PwRXD+b476 WgOjduqQPbuIyR7sUc4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT14d-00000000Spe-28ew; Thu, 25 Jan 2024 14:51:23 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT13i-00000000S2O-3M2w for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 14:50:28 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e7e2e04f0so74515285e9.1 for ; Thu, 25 Jan 2024 06:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706194225; x=1706799025; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4mb9+bEM/5blhATmtgMhoiewq5VCGJ6TCsXtGi2uVOU=; b=VY4sCrDAqhB9NY9FkH971YKLvpducHuhiFyQnNrz0vEHsqEtvCvMzfMNsnNiSWmsGi pyqhiXuk/YexuxaomFkZOoe/JZOrlhV6+9VvPb/QXiwfHDsoO6g36zx0YyseoWqPraGa PBoD0Lc/t5nbk3ZKIH0Hu9lhjx7FxuRiolAEPHBh7zUzg1ylVsVZSjMjHfKPifZTirHV lC/W2o7yuVhUErr8yIR+NBVA5qAalpDmngDMw0GehIZwaFyvap976vtW9haB/GH/9kmu 56sX2sk8S4rnpp49YRrgGrOMtny/Yfw2xOMy8GnRbJtv12cNX09Fwp+zg5zyRavLwBkN NgnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706194225; x=1706799025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4mb9+bEM/5blhATmtgMhoiewq5VCGJ6TCsXtGi2uVOU=; b=o6sMK07jygCK7XraX8e37EdnLiaHZxtSNDNY8frzZDSw0A8bVQaFiAW1ZWlUTZTQCG HX0Ns+V/jFT0swTSPv0sbAejZTcVmxQa78wiPxXIDKdoOu6kG6Tfam4pUxlknTqamVOc x6/Cvx1RVMRKGCuvF764tiWyM3s3AJdtzNqHzZVSJaL2WcmkBU0Cy+ihOhwOSJafgBXa WXrCl/XMJzS1eXNu26LVWME0GtW99cNdml7H+E3tIZdnu5M+llnk0K/pmytvMfnUMb2u g9khlz9pN2VmUwulOxpX4nRku4mqDjjkgbY71fDf0aL5AY4Sj/bBKNQbkow2D0O1CBZc rc8A== X-Gm-Message-State: AOJu0YwoYLz4jw3TIOun71M6oEgMDMDjK70RV1gp9fupQab7Wxdx1Twf Vex2XyYmLnYKs4fi4i8iUiZCpZjMB4fvdwOypjxEs5aDrgRn+TUw1B+a5tGRVKg= X-Google-Smtp-Source: AGHT+IEpkD3F0Js2iaSYc1hvfcPWWEOr3Z70uQBq/1WFhCQpetg0oRQUfIM4XY7tyVLSl4yTXJPtSg== X-Received: by 2002:a05:600c:b8d:b0:40e:d21d:571f with SMTP id fl13-20020a05600c0b8d00b0040ed21d571fmr476176wmb.51.1706194225631; Thu, 25 Jan 2024 06:50:25 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id v17-20020a05600c471100b0040d91fa270fsm2875875wmo.36.2024.01.25.06.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:50:24 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, arnd@arndb.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH v2 17/28] spi: s3c64xx: drop blank line between declarations Date: Thu, 25 Jan 2024 14:49:55 +0000 Message-ID: <20240125145007.748295-18-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125145007.748295-1-tudor.ambarus@linaro.org> References: <20240125145007.748295-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_065026_881575_CA3B1BE5 X-CRM114-Status: GOOD ( 11.47 ) 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 Drop the blank line and move the logical operation in the body of the function rather than in initialization list. Signed-off-by: Tudor Ambarus Reviewed-by: Sam Protsenko --- drivers/spi/spi-s3c64xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 00a0878aeb80..bb6d9bf390a8 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1282,8 +1282,9 @@ static int s3c64xx_spi_suspend(struct device *dev) { struct spi_controller *host = dev_get_drvdata(dev); struct s3c64xx_spi_driver_data *sdd = spi_controller_get_devdata(host); + int ret; - int ret = spi_controller_suspend(host); + ret = spi_controller_suspend(host); if (ret) return ret;