yenta: Use pci_claim_resource
authorMatthew Wilcox <willy@linux.intel.com>
Fri, 19 Jun 2009 13:36:15 +0000 (09:36 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:29:19 +0000 (13:29 -0700)
commit852710d9fd9f2e59fcec65cc701867db4e801bc7
tree51d5e63d6f8e8a7929b020411e70a502c1cce946
parenteae91c0215d99f7727b66e2928fb73bf86bc9668
yenta: 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: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pcmcia/yenta_socket.c