]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 04:05:56 +0000 (23:05 -0500)
commit9a8fcaf6301903591325988a91bfa693d47fc872
tree5449361d3073b9b2598584ac594694ad60f88838
parent71e49186c3e38eddd2bcf754ad667f39739fa37c
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>
drivers/net/phy/dp83867.c