summaryrefslogtreecommitdiff
path: root/tools/testing/nvdimm/test/ndtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/nvdimm/test/ndtest.c')
-rw-r--r--tools/testing/nvdimm/test/ndtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
index 892e990c034a..68a064ce598c 100644
--- a/tools/testing/nvdimm/test/ndtest.c
+++ b/tools/testing/nvdimm/test/ndtest.c
@@ -883,7 +883,7 @@ static const struct platform_device_id ndtest_id[] = {
static struct platform_driver ndtest_driver = {
.probe = ndtest_probe,
- .remove_new = ndtest_remove,
+ .remove = ndtest_remove,
.driver = {
.name = KBUILD_MODNAME,
},