mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drivers/net: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4c9ba61e9e
commit
dddcb445a3
5 changed files with 6 additions and 7 deletions
|
@ -640,7 +640,7 @@ static int ethoc_mdio_probe(struct net_device *dev)
|
|||
return -ENXIO;
|
||||
}
|
||||
|
||||
phy = phy_connect(dev, dev_name(&phy->dev), ðoc_mdio_poll, 0,
|
||||
phy = phy_connect(dev, dev_name(&phy->dev), ethoc_mdio_poll, 0,
|
||||
PHY_INTERFACE_MODE_GMII);
|
||||
if (IS_ERR(phy)) {
|
||||
dev_err(&dev->dev, "could not attach to PHY\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue