EDAC/amd64: Merge sysfs debugging attributes setup code
authorBorislav Petkov <bp@suse.de>
Mon, 14 Dec 2020 19:47:11 +0000 (20:47 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 28 Dec 2020 18:36:17 +0000 (19:36 +0100)
commit2a28ceef00bac65d6bb1757002f742806837e100
treeab005fe2aec0cfc4ed5aa1313db5fb82898b7b2d
parent6a4afe38787d7556948b026652a6770e46ce0f6d
EDAC/amd64: Merge sysfs debugging attributes setup code

There's no need for them to be in a separate file so merge them into the
main driver compilation unit like the other EDAC drivers do.

Drop now-unneeded function export, make the function static and shorten
static function names.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lkml.kernel.org/r/20201215110517.5215-1-bp@alien8.de
drivers/edac/Makefile
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h
drivers/edac/amd64_edac_dbg.c [deleted file]