x86/intel/quark: Clean up function kernel-doc

Add a short description for imr_self_test() and drop the comments for
the non-existent imr_self_test_exit() to avoid kernel-doc warnings:

  Warning: arch/x86/platform/intel-quark/imr_selftest.c:52 missing initial short description on line:
   * imr_self_test
  Warning: ../arch/x86/platform/intel-quark/imr_selftest.c:128 function parameter 'imr_self_test_init' not described in 'device_initcall'
  Warning: ../arch/x86/platform/intel-quark/imr_selftest.c:128 expecting prototype for imr_self_test_exit(). Prototype was for device_initcall() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20260730233429.285788-6-rdunlap@infradead.org
This commit is contained in:
Randy Dunlap 2026-07-30 16:34:29 -07:00 committed by Ingo Molnar
parent bc038b8368
commit e4632f592c

View File

@ -50,7 +50,7 @@ void __init imr_self_test_result(int res, const char *fmt, ...)
#undef SELFTEST
/**
* imr_self_test
* imr_self_test - perform the IMR self-test
*
* Verify IMR self_test with some simple tests to verify overlap,
* zero sized allocations and 1 KiB sized areas.
@ -121,9 +121,4 @@ static int __init imr_self_test_init(void)
return 0;
}
/**
* imr_self_test_exit - exit point for IMR code.
*
* return:
*/
device_initcall(imr_self_test_init);