Răsfoiți Sursa

Staging: netlogic: Remove & from function name.

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>
Sandhya Bankar 9 ani în urmă
părinte
comite
968b4e6bd3
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/staging/netlogic/xlr_net.c

+ 1 - 1
drivers/staging/netlogic/xlr_net.c

@@ -850,7 +850,7 @@ static int xlr_mii_probe(struct xlr_net_priv *priv)
 
 
 	/* Attach MAC to PHY */
 	/* Attach MAC to PHY */
 	phydev = phy_connect(priv->ndev, phydev_name(phydev),
 	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)) {
 	if (IS_ERR(phydev)) {
 		pr_err("could not attach PHY\n");
 		pr_err("could not attach PHY\n");