]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC, skx_edac: Delete duplicated code
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 30 Jan 2019 19:15:18 +0000 (11:15 -0800)
committerBorislav Petkov <bp@suse.de>
Sat, 2 Feb 2019 12:33:11 +0000 (13:33 +0100)
commit98f2fc829e3b55a0ff1b82753fc1e10941535cb9
tree554f9690915b8b05dbeb5b3978fc734be723620e
parent88a242c9874044740ab990d4fccba8bb90cb924b
EDAC, skx_edac: Delete duplicated code

Delete the duplicated code from skx_edac.c and rename skx_edac.c to
skx_base.c. Update the Makefile to build the skx_edac driver from
skx_base.c and skx_common.c.

Add SPDX to skx_base.c and clean out unnecessary #include lines.

 [ bp: Drop the license boilerplate - there's an SPDX identifier now. ]

Co-developed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/20190130191519.15393-4-tony.luck@intel.com
drivers/edac/Makefile
drivers/edac/skx_base.c [new file with mode: 0644]
drivers/edac/skx_edac.c [deleted file]