diff options
author | Daniel Mack <zonque@gmail.com> | 2013-09-21 16:53:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-27 17:28:32 -0400 |
commit | 0197ffed8690751b027253b97f68df6304aaa6a1 (patch) | |
tree | b639ee8e86abd85608a5601718d484943e750d20 /drivers/net/phy | |
parent | 0a325758a8183cd09bedb2dea7da666e20f74cb7 (diff) | |
download | talos-obmc-linux-0197ffed8690751b027253b97f68df6304aaa6a1.tar.gz talos-obmc-linux-0197ffed8690751b027253b97f68df6304aaa6a1.zip |
net: phy: at803x: don't pass function pointers with &
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>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/at803x.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index ac22283aaf23..417922810c79 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -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, }, |