[PATCH v2 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
Currently, dwmac-rk uses a custom propety "phy_regulator" to get the name of the right regulator to use to power on or power off the phy. This commit converts the driver to use phy-supply devicetree property and the corresponding API, it cleans the code a bit and make it simpler to maintain.

[PATCH v2 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
Currently, dwmac-rk uses a custom propety phy_regulator to get the name of the right regulator to use to power on or power off the phy. This commit converts the driver to use phy-supply devicetree property and the corresponding API, it cleans the code a bit and make it simpler to maintain. This