From patchwork Wed Feb 7 12:04:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13548394 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 3AAE6C4828D for ; Wed, 7 Feb 2024 12:05:45 +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=vcedwWWoVlszy2NWvDl2h6+dkibDXdr3GdAUn7RGdvo=; b=wSVo/9TqLaBPL6 nxX6/0NcVViQtd/OedWMA1DxYDZ31V+Jkb4d/XtUVmYe4+ManEha6U2cRTaNAOnmAu1KEHLrD/T8f 9jet4wvP7926CMsQbFwF0QZcjCBEEYwNyRbm7+GZTyYnm1N6cCP4FreunIbinFKgSMU+JLcl9T3yX 0xNYKs5oh493bhPD4B0vtRzeaP8JvyY/Cgbd3nsaW0RXPEn+AP6DUGv+tKZ2E1LHlRkxiJ/K26xqB Bmm0hRWVYLaYlmm0c9VzKJvu40Ic59I4RSZN79TT9+YI5FDJ8j8o+MAauH2Gl8pGiNeSsr3/tFXZq 14xjaWcPtCw6ACoH5QZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXggD-0000000AZkz-07Ld; Wed, 07 Feb 2024 12:05:29 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXgfc-0000000AZGc-3StG for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2024 12:04:54 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33b2ee2d1d6so316392f8f.1 for ; Wed, 07 Feb 2024 04:04:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707307491; x=1707912291; 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=F6pV2GvkwiGM8sZS3wOj9QdqoXevBRStq9r4pHeBHjM=; b=eLzP00UIUd7tgEgctSTrVnzQwcq+tPvA0emprx5qt7pAXIH+yJ7DHXdULE3CD3rjAt xy63zWMtInozYNgyb9n/6AJ17rke1S3GIHfPukAyfGx2dwOB2mbZ4lnouqs58eWeeaPN JiCtm5Ok+y6/iTYnejYBRIjmomjSwecV7LDY604q0OHxAucqrNi6ZGc3oKvRv0Nu5eF0 /ktZA6gT78mcVp1ZQgRD+cUtEzxYRMfFyx/SQv47jQa6GCF9W8Rwz7jtQhbMhvpB/nAb D5u9ZWzZFQghkusGYwY3AninHupA9EOKismCLdZ2qGW/MHxeT/jTFOVVcP4BB5d2D+j1 JQhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707307491; x=1707912291; 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=F6pV2GvkwiGM8sZS3wOj9QdqoXevBRStq9r4pHeBHjM=; b=d418pGK20Ox4Q4TwXym0IZZt4ojxcQj6fWHkMeo08lU2WDlpt5ePBw4gqI/csl1j6I +SknB0YaTnyl5ZWXpsrArMurNE06v/iuSdpEJVqrsTMBnfUUeYWfC1cJ9eohXIrJKqLJ 0Yipnyvt2VhNS2byguG/TABzWjjHwrxHgBsPofp/q5aopjIDPCCXhOWnPHgDhphNpi43 Yji6FmUuddvbcoE6uTfPCoEP9lL9vMbQZnRMT7nbjCjoYlapXPtAjqLL1WWI8pKuYZnL cgG94c8FhVywKryQE1AgPHAp8HxcftUIJWwFdJ6AdhUbvhtLXINktYwvNOsyLD9yHR44 lZzw== X-Gm-Message-State: AOJu0Yzk1r74wwDp8jPtDBA16YAiTDL6VkaexAkf/EoCFPl791Opqkfp uBhG86Q3LcyUljVK62jsRnkASt0sFUIGt8L6Kg5Dm523jfOn1kX4bMG2eeXyK9bjuVyNwDSLQa5 9PH8= X-Google-Smtp-Source: AGHT+IEdlw8JH/QSRtZd610quS8/RIT1PIG99ZFWjrLwu4MmQXZ8BT3xN451LK0X9PBzhn/DnxzkDw== X-Received: by 2002:adf:ffce:0:b0:33a:e9b5:b14d with SMTP id x14-20020adfffce000000b0033ae9b5b14dmr2977897wrs.65.1707307491634; Wed, 07 Feb 2024 04:04:51 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCV9mcRhUWoZkdqVD1YlZ6mDdMCTzp1K/WKzzPN4YOBL5kh2SFeTNNxJZf1WDk1W6nxUSQmICF1O6KtpyZarM4cbiucm88AXeVYKYiuI+uqjA8Pp05Bpm64G2BCdofnYzEG6DmG4KqN191ATxgJWReswzMyc/nnJOCseTlvj5o1G73v8XSCr6Kx8veIaeF1Z+id3kC3qqBTdRl2yOfTQM1p94DZmpY3FQ9wcR/Y588JOHAwabMZL4posJJnzDTijw3mPQUcOkXyqiD7jO5vbiUIJBCa8kHXNZfsIVsmyvpmdoM3HTA74Vq42TkhtIfbdVfqqKjMsVLNyuap1GuNGx6TiXFGmZ5lRD89Bd5vXETxVKdGLQI1Vu5KPVRl4eZ76GKjumcZbNppknmACOU9ujo7bcbtowkHm5azyJVZeIaGECyW9I9fYYtiKufG6vZouxyW0geiFIuOBN1JW0rkOb90zn/G8qizQ5DO4UnNTzuQAHLQ3Jt7VwVy4cfR1yA== Received: from ta2.c.googlers.com.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id d15-20020a5d644f000000b0033b44a349e1sm1349967wrw.38.2024.02.07.04.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:04:51 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH v5 14/17] spi: s3c64xx: drop blank line between declarations Date: Wed, 7 Feb 2024 12:04:28 +0000 Message-ID: <20240207120431.2766269-15-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog In-Reply-To: <20240207120431.2766269-1-tudor.ambarus@linaro.org> References: <20240207120431.2766269-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-20240207_040452_931606_3D679A62 X-CRM114-Status: GOOD ( 11.11 ) 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. Reviewed-by: Sam Protsenko Signed-off-by: Tudor Ambarus --- 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 bcc00cb5e0d1..d257c4f5623e 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1360,8 +1360,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;