Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ndtest: fix typo class_regster -> class_register

Fixes: dd6cad2dcb58 ("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>

authored by

Yi Zhang and committed by
Greg Kroah-Hartman
76cab6f4 ee623602

+1 -1
+1 -1
tools/testing/nvdimm/test/ndtest.c
··· 924 924 925 925 nfit_test_setup(ndtest_resource_lookup, NULL); 926 926 927 - rc = class_regster(&ndtest_dimm_class); 927 + rc = class_register(&ndtest_dimm_class); 928 928 if (rc) 929 929 goto err_register; 930 930