]> git.karo-electronics.de Git - karo-tx-linux.git/commit
EDAC, ghes_edac: Remove redundant memory_type array
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Wed, 16 Sep 2015 20:53:29 +0000 (15:53 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 23 Sep 2015 14:59:25 +0000 (16:59 +0200)
commit58a9c251c9a1a2f2154e40a9fe7bb81857761b24
treecedafd725d551f285c020df668e398fd02eea367
parent09bd1b4f814870ffa3496aca9e41938ec3ed2884
EDAC, ghes_edac: Remove redundant memory_type array

We already have edac_mem_types[] that enumerates the different kinds of
memory. So, use that and remove the redundant memory_type[] array here.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1442436811-23382-2-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/ghes_edac.c