ndtest: fix typo class_regster -> class_register

Fixes: dd6cad2dcb ("testing: nvdimm: make struct class structures constant")
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20231127040026.362729-1-yi.zhang@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Yi Zhang 2023-11-27 12:00:26 +08:00 committed by Greg Kroah-Hartman
parent ee62360272
commit 76cab6f4fd

View File

@ -924,7 +924,7 @@ static __init int ndtest_init(void)
nfit_test_setup(ndtest_resource_lookup, NULL);
rc = class_regster(&ndtest_dimm_class);
rc = class_register(&ndtest_dimm_class);
if (rc)
goto err_register;