diff options
author | David S. Miller <davem@davemloft.net> | 2023-09-20 09:06:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-20 09:06:41 +0100 |
commit | 6f0b985d3545e1b1fe58318ef09808ae7aa0c470 (patch) | |
tree | 1e4c6eb7b5b42c7d2dd7cdf8a75ec6c22c33ca96 /drivers/net/dsa/b53/b53_mmap.c | |
parent | 5bed8d585aa1db1651745173a66e32df82a5cb05 (diff) | |
parent | d74a5c154b6fab303023e46e7cc1b14c3f3cabd9 (diff) |
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>
Diffstat (limited to 'drivers/net/dsa/b53/b53_mmap.c')
0 files changed, 0 insertions, 0 deletions