[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231117091655.872426-1-u.kleine-koenig@pengutronix.de>
Date: Fri, 17 Nov 2023 10:16:56 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To:
Cc: Siddharth Vadapalli <s-vadapalli@...com>,
Roger Quadros <rogerq@...nel.org>,
Dan Carpenter <dan.carpenter@...aro.org>,
netdev@...r.kernel.org,
kernel@...gutronix.de,
Ravi Gunasekaran <r-gunasekaran@...com>,
Simon Horman <horms@...nel.org>,
Yunsheng Lin <linyunsheng@...wei.com>,
Stanislav Fomichev <sdf@...gle.com>,
Marek Majtyka <alardam@...il.com>,
Rob Herring <robh@...nel.org>,
Mugunthan V N <mugunthanvnm@...com>,
linux-omap@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>,
Gerhard Engleder <gerhard@...leder-embedded.com>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
Kumar Kartikeya Dwivedi <memxor@...il.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Alexander Duyck <alexanderduyck@...com>,
Christian Marangi <ansuelsmth@...il.com>,
Alex Elder <elder@...aro.org>
Subject: [PATCH 0/7] net: ethernet: Convert to platform remove callback
Hello,
after three fixes this series converts the remaining four platform
drivers below drivers/net/ethernet that don't use .remove_new yet to do
that.
See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
The TL;DR; is to prevent bugs like the three fixed here.
Best regards
Uwe
Uwe Kleine-König (7):
net: ethernet: ti: am65-cpsw: Don't error out in .remove()
net: ethernet: ti: cpsw: Don't error out in .remove()
net: ethernet: ti: cpsw-new: Don't error out in .remove()
net: ethernet: ti: am65-cpsw: Convert to platform remove callback
returning void
net: ethernet: ti: cpsw: Convert to platform remove callback returning
void
net: ethernet: ti: cpsw-new: Convert to platform remove callback
returning void
net: ethernet: ezchip: Convert to platform remove callback returning
void
drivers/net/ethernet/ezchip/nps_enet.c | 6 ++----
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 12 +++++++-----
drivers/net/ethernet/ti/cpsw.c | 21 ++++++++++++++-------
drivers/net/ethernet/ti/cpsw_new.c | 21 ++++++++++++++-------
4 files changed, 37 insertions(+), 23 deletions(-)
base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e
--
2.42.0
Powered by blists - more mailing lists