Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305860
b: refs/heads/master
c: 425d247
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck committed May 21, 2012
1 parent 468c8ff commit b0e34bc
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: 41141e64e63dd250a05218b66c91e125f1020b92
refs/heads/master: 425d247680d050fe3ee7e53b9cf0240bf6b4b351
4 changes: 2 additions & 2 deletions trunk/drivers/hwmon/ntc_thermistor.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ static int __devinit ntc_thermistor_probe(struct platform_device *pdev)
}

data->hwmon_dev = hwmon_device_register(data->dev);
if (IS_ERR_OR_NULL(data->hwmon_dev)) {
if (IS_ERR(data->hwmon_dev)) {
dev_err(data->dev, "unable to register as hwmon device.\n");
ret = -EINVAL;
ret = PTR_ERR(data->hwmon_dev);
goto err_after_sysfs;
}

Expand Down

0 comments on commit b0e34bc

Please sign in to comment.