Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305862
b: refs/heads/master
c: a7871de
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck committed May 21, 2012
1 parent 60342d3 commit e7e4f0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: dbe43a62762d2a6430cf6ed65d3459ce1e8ed46c
refs/heads/master: a7871def65887dd42b51b89c674a90c085e934c9
12 changes: 6 additions & 6 deletions trunk/drivers/hwmon/ntc_thermistor.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,14 @@ static int __devinit ntc_thermistor_probe(struct platform_device *pdev)

/* Either one of the two is required. */
if (!pdata->read_uV && !pdata->read_ohm) {
dev_err(&pdev->dev, "Both read_uV and read_ohm missing."
"Need either one of the two.\n");
dev_err(&pdev->dev,
"Both read_uV and read_ohm missing. Need either one of the two.\n");
return -EINVAL;
}

if (pdata->read_uV && pdata->read_ohm) {
dev_warn(&pdev->dev, "Only one of read_uV and read_ohm "
"is needed; ignoring read_uV.\n");
dev_warn(&pdev->dev,
"Only one of read_uV and read_ohm is needed; ignoring read_uV.\n");
pdata->read_uV = NULL;
}

Expand All @@ -340,8 +340,8 @@ static int __devinit ntc_thermistor_probe(struct platform_device *pdev)
NTC_CONNECTED_POSITIVE) ||
(pdata->connect != NTC_CONNECTED_POSITIVE &&
pdata->connect != NTC_CONNECTED_GROUND))) {
dev_err(&pdev->dev, "Required data to use read_uV not "
"supplied.\n");
dev_err(&pdev->dev,
"Required data to use read_uV not supplied.\n");
return -EINVAL;
}

Expand Down

0 comments on commit e7e4f0a

Please sign in to comment.