amd64_edac: Remove two-stage initialization
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 15 Oct 2010 17:25:38 +0000 (19:25 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:34:03 +0000 (11:34 +0100)
commit360b7f3c602ed80ce8c6b2585dcb76883a440c17
tree1737a8de8539548fc7a6ba965798234ba62c5ee7
parent2299ef7114000f8e403797b7f9a972f54bc05fad
amd64_edac: Remove two-stage initialization

Now that all prerequisites are in place, drop the two-stage driver
instances initialization in favor of the following simple init sequence:

1. Probe PCI device: we only test ECC capabilities here and if none exit
early.

2. If the hw supports ECC and it is/can be enabled, we init the per-node
instance.

Remove "amd64_" prefix from static functions touched, while at it.

There actually should be no visible functional change resulting from
this patch.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c