[PATCH 03/13] net: stmmac: dwmac-rk: Allow the driver to probe when phy-supply is not present

2018-11-25 Thread Otavio Salvador
The phy-supply is an optional regulator, so we should not treat as an error when phy-supply is not passed in the device tree. This allows the dwmac-rk driver to probe when phy-supply is not present in the dts. Signed-off-by: Otavio Salvador --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c |

[PATCH 03/13] net: stmmac: dwmac-rk: Allow the driver to probe when phy-supply is not present

2018-11-25 Thread Otavio Salvador
The phy-supply is an optional regulator, so we should not treat as an error when phy-supply is not passed in the device tree. This allows the dwmac-rk driver to probe when phy-supply is not present in the dts. Signed-off-by: Otavio Salvador --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c |