Merge branch 'net-platform-remove-void'
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Sep 2023 08:06:41 +0000 (09:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Sep 2023 08:06:41 +0000 (09:06 +0100)
commit6f0b985d3545e1b1fe58318ef09808ae7aa0c470
tree1e4c6eb7b5b42c7d2dd7cdf8a75ec6c22c33ca96
parent5bed8d585aa1db1651745173a66e32df82a5cb05
parentd74a5c154b6fab303023e46e7cc1b14c3f3cabd9
Merge branch 'net-platform-remove-void'

Uwe Kleine-König says:

====================
net: ethernet: Convert to platform remove callback returning void

this series convert nearly all platform drivers below
drivers/net/ethernet to use remove_new. The motivation is to get rid of
an integer return code that is (mostly) ignored by the platform driver
core and error prone on the driver side.

There are 3 drivers I didn't convert (yet):

 drivers/net/ethernet/ti/cpsw.c
 drivers/net/ethernet/ti/cpsw_new.c
 drivers/net/ethernet/ti/am65-cpsw-nuss.c

These are a bit more complicated because they don't always return 0 in
.remove(). Unless someone is quicker than me, I'll address them in
separate patches at a later time.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

There are no interdependencies between the patches. As there are still
quite a few drivers to convert, I'm happy about every patch that makes
it in. So even if there is a merge conflict with one patch until you
apply, please apply the remainder of this series anyhow.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>