]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: mt7621-pci-phy: change driver to don't use child nodes
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 29 Mar 2019 05:52:43 +0000 (06:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2019 16:22:54 +0000 (17:22 +0100)
commite933158d984bd5c851a3f3f9d8a5efba45800acf
treef060b598f863a6fe782e1218b30e88a11684c4f4
parent200ff80dc7ed88f51002ead015c94185f53c2a53
staging: mt7621-pci-phy: change driver to don't use child nodes

Device tree has been simplified to don't use child nodes and use
the #phy-cells property instead. Change the driver accordly implementing
custom 'xlate' function to return the correct phy for each port.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c