Skip to content

Commit 0197ffe

Browse files
zonquedavem330
authored andcommitted
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>
1 parent 0a32575 commit 0197ffe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎drivers/net/phy/at803x.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ static struct phy_driver at803x_driver[] = {
163163
.get_wol = at803x_get_wol,
164164
.features = PHY_GBIT_FEATURES,
165165
.flags = PHY_HAS_INTERRUPT,
166-
.config_aneg = &genphy_config_aneg,
167-
.read_status = &genphy_read_status,
166+
.config_aneg = genphy_config_aneg,
167+
.read_status = genphy_read_status,
168168
.driver = {
169169
.owner = THIS_MODULE,
170170
},
@@ -178,8 +178,8 @@ static struct phy_driver at803x_driver[] = {
178178
.get_wol = at803x_get_wol,
179179
.features = PHY_GBIT_FEATURES,
180180
.flags = PHY_HAS_INTERRUPT,
181-
.config_aneg = &genphy_config_aneg,
182-
.read_status = &genphy_read_status,
181+
.config_aneg = genphy_config_aneg,
182+
.read_status = genphy_read_status,
183183
.driver = {
184184
.owner = THIS_MODULE,
185185
},
@@ -193,8 +193,8 @@ static struct phy_driver at803x_driver[] = {
193193
.get_wol = at803x_get_wol,
194194
.features = PHY_GBIT_FEATURES,
195195
.flags = PHY_HAS_INTERRUPT,
196-
.config_aneg = &genphy_config_aneg,
197-
.read_status = &genphy_read_status,
196+
.config_aneg = genphy_config_aneg,
197+
.read_status = genphy_read_status,
198198
.driver = {
199199
.owner = THIS_MODULE,
200200
},

0 commit comments

Comments
 (0)