sb_edac: search devices using product id
authorAristeu Rozanski <aris@redhat.com>
Mon, 2 Jun 2014 18:15:25 +0000 (15:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 26 Jun 2014 18:46:33 +0000 (15:46 -0300)
commitdbc954ddddaaff0183a21dbd736ec10ca01e9f1a
treef99933db1111f770e98b044a94990c353f2251ec
parentb976bcf249f4d3b28963e67b5194bc2690da260c
sb_edac: search devices using product id

This patch changes the way devices are searched by using product id instead of
device/function numbers. Tested in a Sandy Bridge and a Ivy Bridge machine to
make sure everything works properly.

Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/edac/sb_edac.c