]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: honor error code from stmmac_dt_phy()
authorNiklas Cassel <niklas.cassel@axis.com>
Mon, 19 Feb 2018 17:11:15 +0000 (18:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Feb 2018 19:13:22 +0000 (14:13 -0500)
commit34ecb26bd38d9cda1909114148e0ffb1d47fa87b
treee272b299d05f194215e8fd38fbcaa7a8ed74dc06
parente1486f55a65f987bfda68c1292c4bc58338d8283
net: stmmac: honor error code from stmmac_dt_phy()

Honor error code from stmmac_dt_phy() instead of always
returning -ENODEV.

No functional change intended.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c