phy: Centralize setting driver module owner
[deliverable/linux.git] / drivers / net / phy / at803x.c
index b76ac09a554f3748249b87c6fb3a9367d470b3c0..8a8f6fb2880d72bbc3c490e6d48e3902cc572315 100644 (file)
@@ -310,9 +310,6 @@ static struct phy_driver at803x_driver[] = {
        .read_status            = genphy_read_status,
        .ack_interrupt          = at803x_ack_interrupt,
        .config_intr            = at803x_config_intr,
-       .driver                 = {
-               .owner = THIS_MODULE,
-       },
 }, {
        /* ATHEROS 8030 */
        .phy_id                 = ATH8030_PHY_ID,
@@ -331,9 +328,6 @@ static struct phy_driver at803x_driver[] = {
        .read_status            = genphy_read_status,
        .ack_interrupt          = at803x_ack_interrupt,
        .config_intr            = at803x_config_intr,
-       .driver                 = {
-               .owner = THIS_MODULE,
-       },
 }, {
        /* ATHEROS 8031 */
        .phy_id                 = ATH8031_PHY_ID,
@@ -352,9 +346,6 @@ static struct phy_driver at803x_driver[] = {
        .read_status            = genphy_read_status,
        .ack_interrupt          = &at803x_ack_interrupt,
        .config_intr            = &at803x_config_intr,
-       .driver                 = {
-               .owner = THIS_MODULE,
-       },
 } };
 
 module_phy_driver(at803x_driver);
This page took 0.069488 seconds and 5 git commands to generate.