Skip to content

Commit

Permalink
ndtest: fix typo class_regster -> class_register
Browse files Browse the repository at this point in the history
Fixes: dd6cad2 ("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>
  • Loading branch information
Yi Zhang authored and Greg Kroah-Hartman committed Nov 27, 2023
1 parent ee62360 commit 76cab6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/nvdimm/test/ndtest.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 76cab6f

Please sign in to comment.