amd64_edac: Add per-family init function
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 1 Oct 2010 16:38:19 +0000 (18:38 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:33:50 +0000 (11:33 +0100)
commit395ae783b384e5243804b07fba3e3f8379ddf1d6
treed5b841a23508eed59caf67d7a4ee411e808b2860
parent9f56da0e3c3269abe0b2745a54f1b082c3c14433
amd64_edac: Add per-family init function

Run a per-family init function which does all the settings based on
the family this driver instance is running on. Move the scrubrate
calculation in it and simplify code.

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