Skip to content

Commit

Permalink
hwmon: (ntc_thermistor) Fix checkpatch warning
Browse files Browse the repository at this point in the history
Fix checkpatch WARNING: quoted string split across lines

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
  • Loading branch information
Guenter Roeck committed May 21, 2012
1 parent dbe43a6 commit a7871de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions 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 a7871de

Please sign in to comment.