net: phy: aquantia/teranetics: Convert to use module_phy_driver macro
authorAxel Lin <axel.lin@ingics.com>
Wed, 14 Oct 2015 10:30:48 +0000 (18:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 02:01:16 +0000 (19:01 -0700)
commitfb0801dcc17845ef52a19f9f9fbbb88a1a93f9b6
treebbe7dbb3efed2cfee5e54a4bc04aeaf1a57ebdfb
parent7f0abb1f0f2b110ec38ade73c241fcba30f9112a
net: phy: aquantia/teranetics: Convert to use module_phy_driver macro

Use module_phy_driver macro to simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/aquantia.c
drivers/net/phy/teranetics.c