x86, mtrr: Use pci_dev->revision
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 1 Jul 2011 18:42:08 +0000 (22:42 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 2 Jul 2011 09:10:07 +0000 (11:10 +0200)
commit50c31e4a2497ea17747b587e8f96b278f07f5483
tree0f64d707dec7f84b7db607d201806ac7a133d0eb
parent192d8857427dd23707d5f0b86ca990c3af6f2d74
x86, mtrr: Use pci_dev->revision

This code uses PCI_CLASS_REVISION instead of PCI_REVISION_ID, so
it wasn't converted by commit 44c10138fd4 ("PCI: Change all
drivers to use pci_device->revision") before being moved to
arch/x86/...

Do it now at last -- and save one level of indentation...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/201107012242.08347.sshtylyov@ru.mvista.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/main.c