x86/mce/amd: Remove return value for mce_threshold_{create,remove}_device()

The return values are not checked, so set return type to 'void'.

Also, move function declarations to internal.h, since these functions are
only used within the MCE subsystem.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/20250624-wip-mca-updates-v4-6-236dd74f645f@amd.com
This commit is contained in:
Yazen Ghannam 2025-06-24 14:16:01 +00:00 • committed by Borislav Petkov (AMD)
commit 4d2161b9e8
3 changed files with 14 additions and 18 deletions