Skip to content
Commit a01df0fe authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent e07cccf4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment