net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver
authorRomain Perier <romain.perier@gmail.com>
Tue, 20 Jan 2015 07:09:37 +0000 (07:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 01:17:07 +0000 (17:17 -0800)
commit4cc8bfb912d29f596c1ae9ea9414d768896ba28f
tree01f7e9b80842dae8e9481a888c957cf390a7bc4b
parent38124b14a0f87ea7fcef50ec28072dd06d12b8e6
net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver

As these settings can be directly expressed from devicetree for both fixed
regulators and pmic-integrated regulators, it is more standard to set them
from dts and let the regulator framework use the right voltage informations
when it is used in the driver.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c