[RESEND,v2,03/14] net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables
Message ID | 20230619092402.195578-4-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2870668vqr; Mon, 19 Jun 2023 02:26:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ucIfsMTea5/lKPvat+e7fqzDK1SdX0gJAbT/jNYIGbfj24/D8m97hd1pI6Z4j1OmAIi+2 X-Received: by 2002:a05:6358:cd16:b0:130:afe8:43de with SMTP id gv22-20020a056358cd1600b00130afe843demr2229841rwb.30.1687166770382; Mon, 19 Jun 2023 02:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687166770; cv=none; d=google.com; s=arc-20160816; b=Xxdt/AJ9cbXAfxEcBloc6bO6wtEGCC4ccrtZRzSzChxkQzH+kuhq4YRv153XCMH0kK MY8l3VkwE1773EH8OCq6rylDn2eBr7J+Rgrpc8B9oyvXBYtNBcqEN6vad3IREyr0AY4e K0qRizeLU1/Gbl95OfFBmHrGMokx0hFy0ekQdtkGcTuklM1p4hUpWIsJCVfv4iTk3sYc 7h/Io0yewjVSo3ZoVv7XWhe2HUl8FMSsHHQk7won4+YFpuBgsUWYfzcoSe9dWgx0r1sR 5xjUvxU/JCLkdQwtT95vqc1sLeUuGMGTpk3ifhCjmm2NMlmBQIgvMu07Cl9wwgZtSs5m vRQQ== 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 :dkim-signature; bh=jbBN5UFZLskttS3+DKY7OChoCqIyyvgczJBfknfqHmY=; b=P623DVTx75OhXfC3FTUZMoCZ6/M1L7zFTivyp3jGwdZm4k3K+KcpqIPfXHoM/2rz/r iMWy4T3/ABVAUu8NAdhIzK7yAw5PgG6wft3Cwb7RjBJFRrgmR952WsKlJshSlkjrA9hO SaraQWhJUG6qmhOLBYRYeHj5iGIhkhsardW55VxMgDN4d04LvLkww5R/G+BbBzjiWiLA arJHE/0Vq5eGHhiCWmbHpELlIJFSmarwaBlZfEk1dZxb9adPEOa7PuwyPWei1dRtq7/L 5dVH6bU7btA42t6APToigQWvXmQJl1PGVsUffRGV7UR6bgGYPAPOQ0h+0OkEBr+5QxSM xTKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=IgJbKu3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020a633c53000000b00542b188b326si5339605pgn.876.2023.06.19.02.25.57; Mon, 19 Jun 2023 02:26:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=IgJbKu3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231450AbjFSJYl (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Mon, 19 Jun 2023 05:24:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbjFSJYS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Jun 2023 05:24:18 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C37B18D for <linux-kernel@vger.kernel.org>; Mon, 19 Jun 2023 02:24:17 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f769c37d26so4012097e87.1 for <linux-kernel@vger.kernel.org>; Mon, 19 Jun 2023 02:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1687166656; x=1689758656; 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=jbBN5UFZLskttS3+DKY7OChoCqIyyvgczJBfknfqHmY=; b=IgJbKu3j5ZSezHMCdBUh//m5BjaQnLUFHhTknW4VBcn4lAblpPaHRZ1Fg8mgLyOnwn B+CUjCvyLvpZTDweOBWlV32HEMP4jI1kCm9h7YK3xegxh0EEACGXSVwNff1llgRxdbrO DXmjRfKbyzieziwyN+VOYogRFr1BFhc7IXDOvjFOMNWalXxL5tdQxfLlQc6VN1zWe85h zUwDsXJqzGRXIv+fzm2VK6cnQ1rwqwfZ3VUJGKX6h356mJJK9Z/gt1Nev934IASlL243 +fI1CPxpdHmWdipONXkkVWGAGnIDLLbPts0scgNsx2l/mmywhnkmXNKXxF33lllu0wZw ul5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687166656; x=1689758656; 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=jbBN5UFZLskttS3+DKY7OChoCqIyyvgczJBfknfqHmY=; b=TkU4dRttBeHDx28CVsF3Py+blQZqGs3ts2BzU6Mghi0hKh3zabaC9jvTFq+p+CaeYF WCHAze7KKu7Jg8W3rICnLPn2+ItCDk5GVGArpEvCIfuWW1UjTOlRLVapXCrwUjBpwR5u jqdT0EOZTVpAG9skVuekfvSZ5HPTDocPO6KNHvib7q4WUQESdQ7a7UAgxgCFVyGj0Oyn EVAN1q8NGhnqwqeiuB4k6TeLWmycNeUmMan3Eu+bXKohsdxtasdKwwUL+LOEkXBmOhtC hl1S5OdJyxQYyQLT9PlCPYiCNGKUVU4IlWXawpAuBwJwM7ynT8BGcoUewBxr2Cfp13BU OpMw== X-Gm-Message-State: AC+VfDx5qDgdh9MvOz/GVzwY3gMIGIQ4M5n6/jXxMTf3wu8p4XR4voSN YeyT6UpCcAnrZgeg+hwlE0rftQ== X-Received: by 2002:a19:5e16:0:b0:4f4:b28d:73eb with SMTP id s22-20020a195e16000000b004f4b28d73ebmr4567389lfb.12.1687166655767; Mon, 19 Jun 2023 02:24:15 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d9e8:ddbf:7391:a0b0]) by smtp.gmail.com with ESMTPSA id q9-20020a7bce89000000b003f7cb42fa20sm10045229wmj.42.2023.06.19.02.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 02:24:15 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Vinod Koul <vkoul@kernel.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Giuseppe Cavallaro <peppe.cavallaro@st.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Jose Abreu <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Andrew Halaney <ahalaney@redhat.com> Cc: netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [RESEND PATCH v2 03/14] net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables Date: Mon, 19 Jun 2023 11:23:51 +0200 Message-Id: <20230619092402.195578-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230619092402.195578-1-brgl@bgdev.pl> References: <20230619092402.195578-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769122583388621226?= X-GMAIL-MSGID: =?utf-8?q?1769122583388621226?= |
Series |
net: stmmac: dwmac-qcom-ethqos: add support for EMAC4
|
|
Commit Message
Bartosz Golaszewski
June 19, 2023, 9:23 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Make sure we follow the reverse-xmas tree convention. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andrew Halaney <ahalaney@redhat.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c index 16e856861558..28d2514a8795 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c @@ -594,9 +594,9 @@ static void ethqos_clks_disable(void *data) static int qcom_ethqos_probe(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; + const struct ethqos_emac_driver_data *data; struct plat_stmmacenet_data *plat_dat; struct stmmac_resources stmmac_res; - const struct ethqos_emac_driver_data *data; struct qcom_ethqos *ethqos; int ret;