summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-06-10 17:36:57 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2009-06-26 13:06:41 +0200
commit37da045067b4e923190662e21029005ea53bfaa1 (patch)
tree5b2a0a36f29ed400afabb5015683649a55406b63 /drivers/edac/amd64_edac.h
parentamd64_edac: fix ecc_enable_override handling (diff)
downloadlinux-37da045067b4e923190662e21029005ea53bfaa1.tar.xz
linux-37da045067b4e923190662e21029005ea53bfaa1.zip
amd64_edac: misc small cleanups
- cleanup debug calls - shorten function names - cleanup error exit paths Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index a159957e167b..ba73015af8e4 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -444,7 +444,7 @@ enum {
#define K8_MSR_MC4ADDR 0x0412
/* AMD sets the first MC device at device ID 0x18. */
-static inline int get_mc_node_id_from_pdev(struct pci_dev *pdev)
+static inline int get_node_id(struct pci_dev *pdev)
{
return PCI_SLOT(pdev->devfn) - 0x18;
}