Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298042
b: refs/heads/master
c: 03ee62f
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Len Brown committed Mar 22, 2012
1 parent a8640a5 commit 52dcbd5
Show file tree
Hide file tree
Showing 2 changed files with 3 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: de716e32e61fae5d1f0d000008d3f641cec5c9dd
refs/heads/master: 03ee62f0b9919535a1be02f72fe8153255a7fda0
4 changes: 2 additions & 2 deletions trunk/drivers/thermal/spear_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ static int spear_thermal_probe(struct platform_device *pdev)

spear_thermal = thermal_zone_device_register("spear_thermal", 0,
stdev, &ops, 0, 0, 0, 0);
if (!spear_thermal) {
if (IS_ERR(spear_thermal)) {
dev_err(&pdev->dev, "thermal zone device is NULL\n");
ret = -EINVAL;
ret = PTR_ERR(spear_thermal);
goto disable_clk;
}

Expand Down

0 comments on commit 52dcbd5

Please sign in to comment.