]> git.proxmox.com Git - mirror_spl.git/blobdiff - module/splat/splat-random.c
Refactor some splat macro to function
[mirror_spl.git] / module / splat / splat-random.c
index 33b799bad2e2452677286a2df31e6eac198d3020..670931a8cf04fb93a1be47b1c0fc3724d95fd0e3 100644 (file)
@@ -108,7 +108,7 @@ splat_krng_init(void)
         spin_lock_init(&sub->test_lock);
         sub->desc.id = SPLAT_SUBSYSTEM_KRNG;
 
-        SPLAT_TEST_INIT(sub, SPLAT_KRNG_TEST1_NAME, SPLAT_KRNG_TEST1_DESC,
+        splat_test_init(sub, SPLAT_KRNG_TEST1_NAME, SPLAT_KRNG_TEST1_DESC,
                      SPLAT_KRNG_TEST1_ID, splat_krng_test1);
 
         return sub;
@@ -119,7 +119,7 @@ splat_krng_fini(splat_subsystem_t *sub)
 {
         ASSERT(sub);
 
-        SPLAT_TEST_FINI(sub, SPLAT_KRNG_TEST1_ID);
+        splat_test_fini(sub, SPLAT_KRNG_TEST1_ID);
 
         kfree(sub);
 }