Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4990227pxj; Wed, 9 Jun 2021 06:51:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytAGvBQTEQ7QBa/X5vmhnYKfe+3cMCTC9F+62JnkcjACyxj/Us4p8qes1W+oxxTC1q950N X-Received: by 2002:a17:906:c833:: with SMTP id dd19mr28056274ejb.255.1623246691608; Wed, 09 Jun 2021 06:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623246691; cv=none; d=google.com; s=arc-20160816; b=LpvpaLX8z2JqGa2XgoWC4oaXZAxyuqjZK4W6s0fha8WYAjxlMgSYxlidz1kFuwKVw5 Zy0JPqjFT+6WrpjS6kUDUrkq3w+hFcpcwqmFaRuiaBL/Ksnw6AoIcFDYO+DQYJRuZhqm cVimosnWdTfGlrF9tkusSuK92oW+Vki+GhbuFDERdJZ80wQfHqGzsmByoJieO2rzq5Eo iLDO7xzaI1DwOCF0RWKIpE/FqD+wXpXlk3JKFHsRezPuqrcvQBalexbfz25+4ofI8QK6 Kn3IKIxVht0Sf1/HRc6qnIsOHb/2RMJiXNEFeXDyQL/KOKgxf274+etZwxad36dXwZXJ qLhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yMFys2zolvsG4xGEnBC8VDqjzcfuFJiltGwSIcelqJg=; b=DouOPOJ2cu1NxvFj5wmBZn6yLYwOdvjuIx8UXgXITvZWoahGtCCbJz7fQSaL5XikHu 8gqwpIsaA2izJM34Ikp36stVRjc9qZt3+1z9v3VuRvnCOAFGlnryEaYd+2ZhkEV4eW4p yAj3MoOuttrA9uVLpYysMTQp50RaTeQYPacEdXVPkOPV2WHs5rSOz4hyzw1FS/UlU75N bBR7DBIQsHLEGygK3aXbxxAaD08fPENnqwdaL70m8Z6uxwn5ej+8ABkdHSLzI6I0pFQX KkBd2FGzPCcCfu0a4BBxR/Xn0e1tEQ2LgWQvIffC/Os73GiWWSRP1MjCS2MCseoXnHHR BQKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si2381459edq.552.2021.06.09.06.51.08; Wed, 09 Jun 2021 06:51:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237722AbhFIIFE (ORCPT + 99 others); Wed, 9 Jun 2021 04:05:04 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:40411 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237467AbhFIIDl (ORCPT ); Wed, 9 Jun 2021 04:03:41 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 3A909200016; Wed, 9 Jun 2021 08:01:44 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , , Rob Herring , , Krzysztof Kozlowski Cc: Michal Simek , Naga Sureshkumar Relli , Amit Kumar Mahapatra , Thomas Petazzoni , , , helmut.grohne@intenta.de, Srinivas Goud , Siva Durga Prasad Paladugu , Miquel Raynal Subject: [PATCH v22 14/18] memory: pl353-smc: Declare variables following a reverse christmas tree order Date: Wed, 9 Jun 2021 10:01:08 +0200 Message-Id: <20210609080112.1753221-15-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210609080112.1753221-1-miquel.raynal@bootlin.com> References: <20210609080112.1753221-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a purely cosmetic change. Signed-off-by: Miquel Raynal --- drivers/memory/pl353-smc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/memory/pl353-smc.c b/drivers/memory/pl353-smc.c index b913d68a7a41..925d856663ac 100644 --- a/drivers/memory/pl353-smc.c +++ b/drivers/memory/pl353-smc.c @@ -36,8 +36,8 @@ static int __maybe_unused pl353_smc_suspend(struct device *dev) static int __maybe_unused pl353_smc_resume(struct device *dev) { + struct pl353_smc_data *pl353_smc = dev_get_drvdata(dev); int ret; - struct pl353_smc_data *pl353_smc = dev_get_drvdata(dev); ret = clk_enable(pl353_smc->aclk); if (ret) { @@ -70,11 +70,11 @@ static const struct of_device_id pl353_smc_supported_children[] = { static int pl353_smc_probe(struct amba_device *adev, const struct amba_id *id) { + struct device_node *of_node = adev->dev.of_node; + const struct of_device_id *match = NULL; struct pl353_smc_data *pl353_smc; struct device_node *child; int err; - struct device_node *of_node = adev->dev.of_node; - const struct of_device_id *match = NULL; pl353_smc = devm_kzalloc(&adev->dev, sizeof(*pl353_smc), GFP_KERNEL); if (!pl353_smc) -- 2.27.0