net: phy: micrel: add device-type abstraction
authorJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 11:59:15 +0000 (12:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:08:56 +0000 (14:08 -0500)
commite6a423a81da0eb3da755428f4d2df5a9ba13030f
treeae09e944694fc97a589220c85781a36a65d3c25c
parent860f6e9eb780443381a76e3766a9698afbc5e2e5
net: phy: micrel: add device-type abstraction

Add structured device-type information and support for generic led-mode
setup to the generic config_init callback.

This is a first step in ultimately getting rid of device-type specific
callbacks.

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