]> 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)
commitf4a67bd7372dc48291cf71b8301027dc9c875a57
tree5449361d3073b9b2598584ac594694ad60f88838
parent3f22a7f72419ec027959ab0a29dc0c7f7992ab51
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