aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorDavid S. Miller2020-06-30 15:57:34 -0700
committerDavid S. Miller2020-06-30 15:57:34 -0700
commit2429ec265d50b4b6270763c4f37db61390adf350 (patch)
tree35527d6cbdb92206194b6ed8a051335ffd887a5c /drivers/net/ethernet/amd
parente0cdac65ba269767d5531cc40ab7fe858e2650d9 (diff)
parent9ed0a3fac08bddaf104038b6371eaa6494c6fd83 (diff)
Merge branch 'net-improve-devres-helpers'
Bartosz Golaszewski says: ==================== net: improve devres helpers So it seems like there's no support for relaxing certain networking devres helpers to not require previously allocated structures to also be managed. However the way mdio devres variants are implemented is still wrong and I modified my series to address it while keeping the functions strict. First two patches modify the ixgbe driver to get rid of the last user of devm_mdiobus_free(). Patches 3, 4, 5 and 6 are mostly cosmetic. Patch 7 fixes the way devm_mdiobus_register() is implemented. Patches 8 & 9 provide a managed variant of of_mdiobus_register() and last patch uses it in mtk-star-emac driver. v1 -> v2: - drop the patch relaxing devm_register_netdev() - require struct mii_bus to be managed in devm_mdiobus_register() and devm_of_mdiobus_register() but don't store that information in the structure itself: use devres_find() instead ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd')
0 files changed, 0 insertions, 0 deletions