[PATCHv2 net-next 0/9] clean up with devm

Rosen Penev posted 9 patches 1 week ago
drivers/net/ethernet/smsc/smsc911x.c | 231 ++++-----------------------
1 file changed, 31 insertions(+), 200 deletions(-)
[PATCHv2 net-next 0/9] clean up with devm
Posted by Rosen Penev 1 week ago
It happens to fix missing frees, especially with mdiobus functions.

v2: use reset_gpio variable to handle errors.

Rosen Penev (9):
  net: smsc911x: use devm_platform_ioremap_resource
  net: smsc911x: use devm_alloc_etherdev
  net: smsc911x: use devm for regulators
  net: smsc911x: use devm for mdiobus functions
  net: smsc911x: use devm for register_netdev
  net: smsc911x: remove debug stuff from _remove
  net: smsc911x: remove pointless NULL checks
  net: smsc911x: remove enable_resources function
  net: smsc911x: move reset_gpio member down

 drivers/net/ethernet/smsc/smsc911x.c | 231 ++++-----------------------
 1 file changed, 31 insertions(+), 200 deletions(-)

-- 
2.46.2