aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-12-15 00:03:43 +0800
committerDaniel Golle <daniel@makrotopia.org>2019-03-05 03:02:34 +0100
commita4eef43a120d51bb5386730b820704e5cb5e1acf (patch)
treef18f15140d7a2379f02d3f23644bf0b53902ffc6 /target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c
parentf73b2d64ed56c1ba41c1ef906ef292d07f839def (diff)
downloadupstream-a4eef43a120d51bb5386730b820704e5cb5e1acf.tar.gz
upstream-a4eef43a120d51bb5386730b820704e5cb5e1acf.tar.bz2
upstream-a4eef43a120d51bb5386730b820704e5cb5e1acf.zip
ath79: ag71xx: replace alloc_etherdev with devm_alloc_etherdev
using the devm api makes the code simpler. also drop unneeded memory free from ag71xx_remove since they are allocated using devm apis. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c')
0 files changed, 0 insertions, 0 deletions