UPSTREAM: PHY: DP83867: Remove looking in parent device for OF properties
authorAndrew Lunn <andrew@lunn.ch>
Mon, 7 Dec 2015 03:38:58 +0000 (04:38 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 31 May 2017 03:05:47 +0000 (11:05 +0800)
commitd4997fde11e76dee503490c72588b724317cbdeb
tree5c0e412794ff5507e4b133dcbeb73e80c39fabd4
parent4b521acb5e862dcccb3fb4ce4cbcb81b667ed8fd
UPSTREAM: PHY: DP83867: Remove looking in parent device for OF properties

Device tree properties for a phy device are expected to be in the phy
node. The current code for the DP83867 also tries to look in the
parent node. The devices binding documentation does not mention this,
no current device tree file makes use of this, and it is not behaviour
we want. So remove looking in the parent device.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 7bf9ae016efc0cf08263fbee5ac708c23b90792e)
Change-Id: Ia0b9f5fbe15b3c042880b8c8712c1b72f994029e
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
drivers/net/phy/dp83867.c