]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit231c2043a1aa242db796d809f856de5e812627fb
tree3220cc82221c397e23687a188ed93b56ac435473
parent858721bfbadcebe2f3f737ffac8d8f0b75e12714
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