i7core: fix get_devices routine for Xeon55xx
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 18 Jul 2009 13:43:08 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:53 +0000 (11:44 -0300)
commitc77720b9544d8825ff5b9546d0ee038cfa4d4eb2
tree001c9d4e741821e920bbc6eba4a3f9a8e738ddc6
parenta639539fa28531924c6b5e0f3963cc63d060947d
i7core: fix get_devices routine for Xeon55xx

i7core_get_devices() were preparet to get just the first found device of each type.
Due to that, on Xeon 55xx, only socket 1 were retrived.

Rework i7core_get_devices() to clean it and to properly support Xeon 55xx.

While here, fix a small typo.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c