Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116859
b: refs/heads/master
c: 7ab1899
h: refs/heads/master
i:
  116857: d5fd3f8
  116855: a0ca261
v: v3
  • Loading branch information
Arjan van de Ven authored and Samuel Ortiz committed Oct 21, 2008
1 parent 134ad70 commit 8f6a63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e76f7558d89868bc295fe1220c2e5a0a82f698f6
refs/heads/master: 7ab18995e11089ea33c99fd586e8bad4932369e4
3 changes: 1 addition & 2 deletions trunk/drivers/mfd/sm501.c
Original file line number Diff line number Diff line change
Expand Up @@ -1625,8 +1625,7 @@ static int sm501_pci_probe(struct pci_dev *dev,
goto err3;
}

sm->regs = ioremap(pci_resource_start(dev, 1),
pci_resource_len(dev, 1));
sm->regs = pci_ioremap_bar(dev, 1);

if (sm->regs == NULL) {
dev_err(&dev->dev, "cannot remap registers\n");
Expand Down

0 comments on commit 8f6a63d

Please sign in to comment.