]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: change remove module strategy
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Sep 2009 02:06:50 +0000 (23:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:45:00 +0000 (11:45 -0300)
commit6ba2f57e64c0a23ba4e9f3bfcfa2be0520f7fe2d
tree1488af672bbf9b4ffd5afd35c450c95b4fd8a32b
parent590091b6a7821b1053b1f89b37b39b3ff240bb4e
i7core_edac: change remove module strategy

The old remove module stragegy didn't work on devices with multiple
cores, since only one PCI device is used to open all mc's, due to
Nehalem nature.

Also, it were based at pdev value. However, this doesn't point to the
pci device used at mci->dev.

So, instead, it unregisters all devices at once, deleting them from the
device list.

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