x86: Use pci_claim_resource
authorMatthew Wilcox <willy@linux.intel.com>
Wed, 17 Jun 2009 20:33:35 +0000 (16:33 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 21:04:42 +0000 (14:04 -0700)
commita76117dfd687ec4be0a9a05214f3009cc5f73a42
tree2ffc76ac97e2fed7debac7276d7d365275db6b92
parenta6c140969b4685f9b9f6773c0760f55ca66d1825
x86: Use pci_claim_resource

Instead of open-coding pci_find_parent_resource and request_resource,
just call pci_claim_resource.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/pci/i386.c