net: phy: replace phy_drivers_register calls
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2014 18:45:59 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:52:53 +0000 (13:52 -0500)
commit50fd71507e69eb96d15fa0544f23495838ae2dab
treef51f31917782679af7e9dbbd445155130323469b
parent116dffa0b543a2e560abd62a0b3207b1694f9ab9
net: phy: replace phy_drivers_register calls

Replace module init/exit which only calls phy_drivers_register with
module_phy_driver macro.

Tested using Micrel driver, and otherwise compile-tested only.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/phy/amd-xgbe-phy.c
drivers/net/phy/at803x.c
drivers/net/phy/bcm63xx.c
drivers/net/phy/bcm7xxx.c
drivers/net/phy/bcm87xx.c
drivers/net/phy/broadcom.c
drivers/net/phy/cicada.c
drivers/net/phy/davicom.c
drivers/net/phy/icplus.c
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/micrel.c
drivers/net/phy/realtek.c
drivers/net/phy/smsc.c
drivers/net/phy/ste10Xp.c
drivers/net/phy/vitesse.c