OSDN Git Service

Staging: netlogic: Remove & from function name.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sat, 19 Mar 2016 06:14:05 +0000 (11:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Remove & from function name,when function name passed as an argument to another function.
Function name is used as pointer without &.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/xlr_net.c

index aa1cdf6..99445d0 100644 (file)
@@ -850,7 +850,7 @@ static int xlr_mii_probe(struct xlr_net_priv *priv)
 
        /* Attach MAC to PHY */
        phydev = phy_connect(priv->ndev, phydev_name(phydev),
-                            &xlr_gmac_link_adjust, priv->nd->phy_interface);
+                            xlr_gmac_link_adjust, priv->nd->phy_interface);
 
        if (IS_ERR(phydev)) {
                pr_err("could not attach PHY\n");