amd64_edac: Use DBAM_DIMM macro
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 12 Sep 2012 16:16:01 +0000 (18:16 +0200)
committerBorislav Petkov <bp@alien8.de>
Wed, 28 Nov 2012 10:46:19 +0000 (11:46 +0100)
commit0a5dfc31405d9b07a5b37f150815b9ad09685460
treea78f995d6a3903d7612c393b76ea4ae30a09e675
parentbb89f5a0547a56cf2406f1c3d6cd44f8fa62256d
amd64_edac: Use DBAM_DIMM macro

Instead of open-coding it, use the DBAM_DIMM macro in
amd64_csrow_nr_pages() which we have already.

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