git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e07cccf
)
mlx4_core: Use pci_request_regions()
author
Roland Dreier
<rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:48 +0000
(20:24 -0700)
committer
Roland 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