summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-09-06 05:24:48 +0200
committerRoland Dreier <rolandd@cisco.com>2009-09-06 05:24:48 +0200
commita01df0fe5e4db8c272dcc395354884ff7c15fc10 (patch)
tree849c1726aad78f51440e8718b252957a69b6a3b0 /arch
parentLinux 2.6.31-rc9 (diff)
downloadlinux-a01df0fe5e4db8c272dcc395354884ff7c15fc10.tar.xz
linux-a01df0fe5e4db8c272dcc395354884ff7c15fc10.zip
mlx4_core: Use pci_request_regions()
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions