Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365215
b: refs/heads/master
c: b66c773
h: refs/heads/master
i:
  365213: 0bf58aa
  365211: 3e2609b
  365207: 3e21d27
  365199: a342b1f
  365183: 854ae2f
v: v3
  • Loading branch information
Jonas Gorski authored and Mark Brown committed Mar 12, 2013
1 parent 06fc88e commit 5c46b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 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: 68792e2a1989bf34a9498356c3e3cc70b9231df2
refs/heads/master: b66c7730027509620ced3c7ebc84e28f623ebe9a
15 changes: 3 additions & 12 deletions trunk/drivers/spi/spi-bcm63xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,18 +412,9 @@ static int bcm63xx_spi_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, master);
bs->pdev = pdev;

if (!devm_request_mem_region(&pdev->dev, r->start,
resource_size(r), PFX)) {
dev_err(dev, "iomem request failed\n");
ret = -ENXIO;
goto out_err;
}

bs->regs = devm_ioremap_nocache(&pdev->dev, r->start,
resource_size(r));
if (!bs->regs) {
dev_err(dev, "unable to ioremap regs\n");
ret = -ENOMEM;
bs->regs = devm_ioremap_resource(&pdev->dev, r);
if (IS_ERR(bs->regs)) {
ret = PTR_ERR(bs->regs);
goto out_err;
}

Expand Down

0 comments on commit 5c46b22

Please sign in to comment.