]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
EDAC/{skx_common,skx,i10nm}: Move the common debug code to skx_common
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 29 Aug 2024 05:51:01 +0000 (13:51 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 3 Sep 2024 19:35:06 +0000 (12:35 -0700)
commit8b935823530d6fd0bea0e90a747f3ebd8cfefb0d
tree3770cf27ee09a097490dfec2e4da5885de0a4c20
parent0ad875f442e95d69a1145a38aabac2fd29984fe3
EDAC/{skx_common,skx,i10nm}: Move the common debug code to skx_common

Commit

  afdb82fd763c ("EDAC, i10nm: make skx_common.o a separate module")

made skx_common.o a separate module. With skx_common.o now a separate
module, move the common debug code setup_{skx,i10nm}_debug() and
teardown_{skx,i10nm}_debug() in {skx,i10nm}_base.c to skx_common.c to
reduce code duplication. Additionally, prefix these function names with
'skx' to maintain consistency with other names in the file.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20240829055101.56245-1-qiuxu.zhuo@intel.com
drivers/edac/i10nm_base.c
drivers/edac/skx_base.c
drivers/edac/skx_common.c
drivers/edac/skx_common.h