EDAC: Fixup scrubrate manipulation
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 24 Nov 2010 18:52:09 +0000 (19:52 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:38:31 +0000 (11:38 +0100)
commit390944439f746824faec51b576f50cb5ef18745b
tree5fd15e75e8e5e5d3dc1e176c655829f9d0f83aa9
parent360b7f3c602ed80ce8c6b2585dcb76883a440c17
EDAC: Fixup scrubrate manipulation

Make the ->{get|set}_sdram_scrub_rate return the actual scrub rate
bandwidth it succeeded setting and remove superfluous arg pointer used
for that. A negative value returned still means that an error occurred
while setting the scrubrate. Document this for future reference.

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