Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328604
b: refs/heads/master
c: 78bfee0
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Mark Brown committed Sep 5, 2012
1 parent 0e1c78a commit 7bda56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: b4b8482690d97ea5421acf71e9e397fe0c5a25b8
refs/heads/master: 78bfee0e1e2e22c3062b41be8db618e7484c8e35
5 changes: 1 addition & 4 deletions trunk/drivers/spi/spi-sh-hspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static int __devinit hspi_probe(struct platform_device *pdev)
ret = spi_register_master(master);
if (ret < 0) {
dev_err(&pdev->dev, "spi_register_master error.\n");
goto error2;
goto error1;
}

pm_runtime_enable(&pdev->dev);
Expand All @@ -292,8 +292,6 @@ static int __devinit hspi_probe(struct platform_device *pdev)

return 0;

error2:
devm_iounmap(hspi->dev, hspi->addr);
error1:
clk_put(clk);
error0:
Expand All @@ -310,7 +308,6 @@ static int __devexit hspi_remove(struct platform_device *pdev)

clk_put(hspi->clk);
spi_unregister_master(hspi->master);
devm_iounmap(hspi->dev, hspi->addr);

return 0;
}
Expand Down

0 comments on commit 7bda56f

Please sign in to comment.