aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ntc_thermistor.c
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2012-04-23 13:33:45 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-05-20 22:41:50 -0400
commita7871def65887dd42b51b89c674a90c085e934c9 (patch)
tree6d6e28a3025f2a8e56ed2b7cd2b30eb8f13b8a48 /drivers/hwmon/ntc_thermistor.c
parentdbe43a62762d2a6430cf6ed65d3459ce1e8ed46c (diff)
hwmon: (ntc_thermistor) Fix checkpatch warning
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>
Diffstat (limited to 'drivers/hwmon/ntc_thermistor.c')
-rw-r--r--drivers/hwmon/ntc_thermistor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c
index ea163866789a..6da9696e1827 100644
--- a/drivers/hwmon/ntc_thermistor.c
+++ b/drivers/hwmon/ntc_thermistor.c
@@ -322,14 +322,14 @@ static int __devinit ntc_thermistor_probe(struct platform_device *pdev)
322 322
323 /* Either one of the two is required. */ 323 /* Either one of the two is required. */
324 if (!pdata->read_uV && !pdata->read_ohm) { 324 if (!pdata->read_uV && !pdata->read_ohm) {
325 dev_err(&pdev->dev, "Both read_uV and read_ohm missing." 325 dev_err(&pdev->dev,
326 "Need either one of the two.\n"); 326 "Both read_uV and read_ohm missing. Need either one of the two.\n");
327 return -EINVAL; 327 return -EINVAL;
328 } 328 }
329 329
330 if (pdata->read_uV && pdata->read_ohm) { 330 if (pdata->read_uV && pdata->read_ohm) {
331 dev_warn(&pdev->dev, "Only one of read_uV and read_ohm " 331 dev_warn(&pdev->dev,
332 "is needed; ignoring read_uV.\n"); 332 "Only one of read_uV and read_ohm is needed; ignoring read_uV.\n");
333 pdata->read_uV = NULL; 333 pdata->read_uV = NULL;
334 } 334 }
335 335
@@ -340,8 +340,8 @@ static int __devinit ntc_thermistor_probe(struct platform_device *pdev)
340 NTC_CONNECTED_POSITIVE) || 340 NTC_CONNECTED_POSITIVE) ||
341 (pdata->connect != NTC_CONNECTED_POSITIVE && 341 (pdata->connect != NTC_CONNECTED_POSITIVE &&
342 pdata->connect != NTC_CONNECTED_GROUND))) { 342 pdata->connect != NTC_CONNECTED_GROUND))) {
343 dev_err(&pdev->dev, "Required data to use read_uV not " 343 dev_err(&pdev->dev,
344 "supplied.\n"); 344 "Required data to use read_uV not supplied.\n");
345 return -EINVAL; 345 return -EINVAL;
346 } 346 }
347 347