]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2a2c4b04c5daa0b890f7f07c704d59def798337
tree0f64d707dec7f84b7db607d201806ac7a133d0eb
parent08e0a53c6db6d210b9ddf91891ed98d7187f048d
x86, mtrr: Use pci_dev->revision

This code uses PCI_CLASS_REVISION instead of PCI_REVISION_ID, so
it wasn't converted by commit 35aa09d9f1f ("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