ath79: ag71xx: register mdio using of_platform_populate
authorChuanhong Guo <gch981213@gmail.com>
Wed, 9 Jan 2019 14:02:09 +0000 (22:02 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 5 Mar 2019 02:02:34 +0000 (03:02 +0100)
commit596a5325cd7255faa94aa5e13ae97a6ee64f0bd2
tree4ad3117cfc2562225401c168b6d83385450077c5
parentf92bbdcc93d9c25d14112da57c5aa63169a4840f
ath79: ag71xx: register mdio using of_platform_populate

remove the hacky checking of "simple-mfd" compatible
also add some comments explaining that piece of code.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c