]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: phy: ti: Use ofnode api to read phy property
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 20 Mar 2019 11:19:47 +0000 (16:49 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 22 Mar 2019 10:24:07 +0000 (11:24 +0100)
commit3aa57bd9e22538c7897538a2d9e275fd0687318e
treeb0246a729a4a0cc689b8a149cf4a7248c994d352
parente80b0044d66f03095fb9a19b89f844179b55d459
net: phy: ti: Use ofnode api to read phy property

Fix incorrect read of phy property "ti,6-wire-mode"
by using ofnode api instead of dev read.
All other phy properties in of_init() routine were
also read using ofnode APIs.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/phy/ti.c