phy: Centralize setting driver module owner
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:22 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (14:31 -0500)
commitbe01da72b1b832b89fbdf59ae6f1b60e53ca2987
treee21e0cd75a0e602153fb669e603170832aa825ce
parentbc87922ff59d364a33e9bce0febdef21a7fbd2af
phy: Centralize setting driver module owner

Rather than have each driver set the driver owner field, do it once in
the core code. This will also help with later changes, when the device
structure will move.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
27 files changed:
drivers/net/phy/amd.c
drivers/net/phy/aquantia.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/dp83640.c
drivers/net/phy/dp83848.c
drivers/net/phy/dp83867.c
drivers/net/phy/et1011c.c
drivers/net/phy/icplus.c
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/micrel.c
drivers/net/phy/microchip.c
drivers/net/phy/national.c
drivers/net/phy/phy_device.c
drivers/net/phy/qsemi.c
drivers/net/phy/realtek.c
drivers/net/phy/smsc.c
drivers/net/phy/ste10Xp.c
drivers/net/phy/teranetics.c
drivers/net/phy/vitesse.c
include/linux/phy.h