summaryrefslogtreecommitdiff
path: root/drivers/net/mdio/mdio-hisi-femac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mdio/mdio-hisi-femac.c')
-rw-r--r--drivers/net/mdio/mdio-hisi-femac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mdio/mdio-hisi-femac.c b/drivers/net/mdio/mdio-hisi-femac.c
index 6703f626ee83..d78a1dc36cfd 100644
--- a/drivers/net/mdio/mdio-hisi-femac.c
+++ b/drivers/net/mdio/mdio-hisi-femac.c
@@ -136,7 +136,7 @@ MODULE_DEVICE_TABLE(of, hisi_femac_mdio_dt_ids);
static struct platform_driver hisi_femac_mdio_driver = {
.probe = hisi_femac_mdio_probe,
- .remove_new = hisi_femac_mdio_remove,
+ .remove = hisi_femac_mdio_remove,
.driver = {
.name = "hisi-femac-mdio",
.of_match_table = hisi_femac_mdio_dt_ids,