Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86794
b: refs/heads/master
c: fbc357d
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Linus Torvalds committed Mar 5, 2008
1 parent 7182fca commit ee866e7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 4874cc1b5142397d585c63d84b3d6d3afff60354
refs/heads/master: fbc357df2e7728feb010148bed4eccb03a181610
5 changes: 3 additions & 2 deletions trunk/drivers/w1/masters/ds1wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/ds1wm.h>

Expand Down Expand Up @@ -374,8 +375,8 @@ static int ds1wm_probe(struct platform_device *pdev)
goto err1;

ds1wm_data->clk = clk_get(&pdev->dev, "ds1wm");
if (!ds1wm_data->clk) {
ret = -ENOENT;
if (IS_ERR(ds1wm_data->clk)) {
ret = PTR_ERR(ds1wm_data->clk);
goto err2;
}

Expand Down

0 comments on commit ee866e7

Please sign in to comment.