summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/controllers/hisi-sfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi-nor/controllers/hisi-sfc.c')
-rw-r--r--drivers/mtd/spi-nor/controllers/hisi-sfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/controllers/hisi-sfc.c b/drivers/mtd/spi-nor/controllers/hisi-sfc.c
index 89a7f0bbc4b3..db948da2c4c5 100644
--- a/drivers/mtd/spi-nor/controllers/hisi-sfc.c
+++ b/drivers/mtd/spi-nor/controllers/hisi-sfc.c
@@ -488,7 +488,7 @@ static struct platform_driver hisi_spi_nor_driver = {
.of_match_table = hisi_spi_nor_dt_ids,
},
.probe = hisi_spi_nor_probe,
- .remove_new = hisi_spi_nor_remove,
+ .remove = hisi_spi_nor_remove,
};
module_platform_driver(hisi_spi_nor_driver);