net: phy: at803x: don't pass function pointers with &
authorDaniel Mack <zonque@gmail.com>
Sat, 21 Sep 2013 14:53:01 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2013 21:28:32 +0000 (17:28 -0400)
Just a cosmetic cleanup.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c

index ac22283aaf23213ab9bf9d931f76df602ccea09d..417922810c791ce66ecde3dc481e198aa27b52d1 100644 (file)
@@ -163,8 +163,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },
@@ -178,8 +178,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },
@@ -193,8 +193,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },