mlx4_core: Use pci_request_regions()
authorRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:48 +0000 (20:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:48 +0000 (20:24 -0700)
The old code used two calls to pci_request_region() to get the two BARs
for the mlx4 device, for no particularly good reason.  Clean up the code
a little by converting this to a single call to pci_request_regions().

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found