Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353673
b: refs/heads/master
c: 1684789
h: refs/heads/master
i:
  353671: 2ff6e91
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 22, 2013
1 parent e012b3f commit 12dedfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 06303c2e00701724acb95069ca46f87c998c4be1
refs/heads/master: 1684789f86cbd6a1aff82970992c711898b19995
8 changes: 3 additions & 5 deletions trunk/drivers/misc/atmel-ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,9 @@ static int ssc_probe(struct platform_device *pdev)
return -ENXIO;
}

ssc->regs = devm_request_and_ioremap(&pdev->dev, regs);
if (!ssc->regs) {
dev_dbg(&pdev->dev, "ioremap failed\n");
return -EINVAL;
}
ssc->regs = devm_ioremap_resource(&pdev->dev, regs);
if (IS_ERR(ssc->regs))
return PTR_ERR(ssc->regs);

ssc->phybase = regs->start;

Expand Down

0 comments on commit 12dedfe

Please sign in to comment.