net: phy: micrel: parse of nodes at probe
authorJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 11:59:16 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:08:56 +0000 (14:08 -0500)
commite7a792e945f9bc5eb3032db8db11c762e8ea9ab0
tree3220cc82221c397e23687a188ed93b56ac435473
parente6a423a81da0eb3da755428f4d2df5a9ba13030f
net: phy: micrel: parse of nodes at probe

Parse the "micrel,led-mode" property at probe, rather than at config_init
time in the led-setup helper itself.

Note that the bogus parent->of_node bit is removed.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c