Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3187629rdb; Tue, 29 Aug 2023 07:54:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1h1JaDZRpziXEGdZa6RbPyE0rqquCQlLmHZrYhQzs80zgRUeZyoqy70vJ5affsrRBh2Z6 X-Received: by 2002:a05:6808:1a01:b0:3a8:4903:5688 with SMTP id bk1-20020a0568081a0100b003a849035688mr17721815oib.34.1693320874150; Tue, 29 Aug 2023 07:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693320874; cv=none; d=google.com; s=arc-20160816; b=zkKfxmoHo3xitKZCTbsx3VDeAl6Oru1cZciP9Bb1qrO+QdrdNEoKe8SE8EqikR8ACV vyVxj/0d/Oul9hVJC/bKBq0SDKA0U6hL/q0xDlGNS4gE3iJlrWWj4v4Tpmexsa6m1s6c 7TMhSEMUH42oFktYkwQthRFQ/Q0/RfF88yvPsbKlY5tO2DEnVttTeaeerSJYyCUV/2C9 A6WCo8jAPUZbme2SJTd+0yfDE0YGMhISh7tbVK/sxWsalJ0m5E+KoP+Z99KH0UC6hyT1 +BziVvsFTfxHTwSxd+aultzN6b4G0lYMzqbMVjvq9W0+MMN7hCo9BdfDY9tL8wX0tLih kd3Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6w3Dr/0Ql6rc/ciO2/O8cUPkB67fpGFKcuCKBERUZVw=; fh=r/VVG12KmrF+nQv7lC2x2sQ0qQnFs7bJUsMqdUzXKDU=; b=tEyWIc2kV/SLGZy8EH47fBP0fuk/XjLZJtTRl2Sd1LU/G6FVd5VE8srcCSFBGDzBZn Nf8hTp9HvraMoLyubAGjaD9qAt69vwv46DtgTHAvoN0H48p7dWV5suicBE/O7AEQB8KH SVKp4uGNoqr5X+UkYbUTCW5s++FBoz5gFq+fxSm/rhp9nIePrpZCWXRRVYQldYpE/her rwGFeBI33xE2v70pCZj4LpU3XjbAvY+L3Rq1SrF4cfVCmygwipVbaZURPVONQEfJglqn Q/tVNSYsN8gmtOymlajmuQQJqXwoMwSJb9jXHkZVYEpqKPnOokkTnCy18xw9O8FhLBnk 0mPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SxwJb5LN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 203-20020a6302d4000000b00565bf7ce0a1si9435865pgc.706.2023.08.29.07.54.15; Tue, 29 Aug 2023 07:54:34 -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=@kernel.org header.s=k20201202 header.b=SxwJb5LN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231881AbjH2Kwy (ORCPT + 99 others); Tue, 29 Aug 2023 06:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbjH2Kwd (ORCPT ); Tue, 29 Aug 2023 06:52:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C0C11A6 for ; Tue, 29 Aug 2023 03:52:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B61D3653CF for ; Tue, 29 Aug 2023 10:52:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF61AC433C7; Tue, 29 Aug 2023 10:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693306349; bh=XgXvx9AusPDy9935nVeLpmXF27doYX4REOLpkMaY//Y=; h=From:To:Cc:Subject:Date:From; b=SxwJb5LNdnNl1fReRuhH1I77UDnX+PsIlqKEDxhbVW4UJgkHOT8DwdhggArZaq838 o4MOdj+KArn3wBefSQIQnyugd0xZJ6ngCOMXbnwRTKmBRks1KoMjUHetzjncvqoM/p Tsfi4sLvSALXVZi/414iGBUJbhxvS0SsG5RLt6R9ueebnspDrKCi8bITTdkO1DW04H x09xbL6T97dzOj7SyEEYc8re2PNXfXohBSItr+kANY7DrU7v8+ipxKWuv0eQhfsyiw Kl3Zi49NBn0rjfJh0WU1YrXbK8ospWOnzt3cQoIqDj8Os1X3lv7EMxBuO/XBvRqqCv L5g0e01PImVDg== From: Jisheng Zhang To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Vladimir Zapolskiy , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Emil Renner Berthing , Samin Guo , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Thierry Reding , Jonathan Hunter , Nobuhiro Iwamatsu , Russell King , Matthias Brugger , AngeloGioacchino Del Regno , Bartosz Golaszewski Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 00/22] convert to devm_stmmac_probe_config_dt Date: Tue, 29 Aug 2023 18:40:11 +0800 Message-Id: <20230829104033.955-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Russell pointed out there's a new devm_stmmac_probe_config_dt() helper now when reviewing my starfive gmac error handling patch[1]. After greping the code, this nice helper was introduced by Bartosz in [2], I think it's time to convert all dwmac users to this helper and finally complete the TODO in [2] "but once all users of the old stmmac_pltfr_remove() are converted to the devres helper, it will be renamed back to stmmac_pltfr_remove() and the no_dt function removed." Link: https://lore.kernel.org/netdev/ZOtWmedBsa6wQQ6+@shell.armlinux.org.uk/ [1] Link: https://lore.kernel.org/all/20230623100417.93592-1-brgl@bgdev.pl/ [2] Jisheng Zhang (22): net: stmmac: dwmac-anarion: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-dwc-qos-eth: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-generic: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe() net: stmmac: dwmac-imx: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-ingenic: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-intel-plat: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-ipq806x: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-lpc18xx: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-mediatek: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-meson: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-meson8b: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-rk: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-socfpga: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-starfive: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-sti: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-stm32: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-sun8i: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-sunxi: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-tegra: use devm_stmmac_probe_config_dt() net: stmmac: dwmac-visconti: use devm_stmmac_probe_config_dt() net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove .../ethernet/stmicro/stmmac/dwmac-anarion.c | 10 +--- .../stmicro/stmmac/dwmac-dwc-qos-eth.c | 15 ++---- .../ethernet/stmicro/stmmac/dwmac-generic.c | 15 +----- .../net/ethernet/stmicro/stmmac/dwmac-imx.c | 13 ++--- .../ethernet/stmicro/stmmac/dwmac-ingenic.c | 33 ++++-------- .../stmicro/stmmac/dwmac-intel-plat.c | 25 +++------ .../ethernet/stmicro/stmmac/dwmac-ipq806x.c | 27 +++------- .../ethernet/stmicro/stmmac/dwmac-lpc18xx.c | 19 ++----- .../ethernet/stmicro/stmmac/dwmac-mediatek.c | 6 +-- .../net/ethernet/stmicro/stmmac/dwmac-meson.c | 25 +++------ .../ethernet/stmicro/stmmac/dwmac-meson8b.c | 53 ++++++------------- .../net/ethernet/stmicro/stmmac/dwmac-rk.c | 14 ++--- .../ethernet/stmicro/stmmac/dwmac-socfpga.c | 16 +++--- .../ethernet/stmicro/stmmac/dwmac-starfive.c | 10 +--- .../net/ethernet/stmicro/stmmac/dwmac-sti.c | 14 ++--- .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 17 +++--- .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 6 +-- .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 23 +++----- .../net/ethernet/stmicro/stmmac/dwmac-tegra.c | 10 ++-- .../ethernet/stmicro/stmmac/dwmac-visconti.c | 12 ++--- .../ethernet/stmicro/stmmac/stmmac_platform.c | 23 ++------ .../ethernet/stmicro/stmmac/stmmac_platform.h | 1 - 22 files changed, 110 insertions(+), 277 deletions(-) -- 2.40.1