diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-01-10 13:01:24 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-08 00:16:40 -0400 |
commit | b55f375725ff85aada394da488802b0a3cc99e88 (patch) | |
tree | 571a8883b647a53901e102ee24c5c21cab342f49 /drivers/hwmon/vt1211.c | |
parent | 088ce2ac9ebac5c74faf4d39083627875fa6f0f0 (diff) |
hwmon: Fix checkpatch warning 'quoted string split across lines'
Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
Cc: Marc Hulsman <m.hulsman@tudelft.nl>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/vt1211.c')
-rw-r--r-- | drivers/hwmon/vt1211.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/drivers/hwmon/vt1211.c b/drivers/hwmon/vt1211.c index dcc62f80f67b..6b2f1a42b3ff 100644 --- a/drivers/hwmon/vt1211.c +++ b/drivers/hwmon/vt1211.c | |||
@@ -571,8 +571,9 @@ static ssize_t set_fan(struct device *dev, struct device_attribute *attr, | |||
571 | break; | 571 | break; |
572 | default: | 572 | default: |
573 | count = -EINVAL; | 573 | count = -EINVAL; |
574 | dev_warn(dev, "fan div value %ld not supported. " | 574 | dev_warn(dev, |
575 | "Choose one of 1, 2, 4, or 8.\n", val); | 575 | "fan div value %ld not supported. Choose one of 1, 2, 4, or 8.\n", |
576 | val); | ||
576 | goto EXIT; | 577 | goto EXIT; |
577 | } | 578 | } |
578 | vt1211_write8(data, VT1211_REG_FAN_DIV, | 579 | vt1211_write8(data, VT1211_REG_FAN_DIV, |
@@ -674,8 +675,9 @@ static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, | |||
674 | break; | 675 | break; |
675 | default: | 676 | default: |
676 | count = -EINVAL; | 677 | count = -EINVAL; |
677 | dev_warn(dev, "pwm mode %ld not supported. " | 678 | dev_warn(dev, |
678 | "Choose one of 0 or 2.\n", val); | 679 | "pwm mode %ld not supported. Choose one of 0 or 2.\n", |
680 | val); | ||
679 | goto EXIT; | 681 | goto EXIT; |
680 | } | 682 | } |
681 | vt1211_write8(data, VT1211_REG_PWM_CTL, | 683 | vt1211_write8(data, VT1211_REG_PWM_CTL, |
@@ -700,8 +702,9 @@ static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, | |||
700 | case SHOW_SET_PWM_AUTO_CHANNELS_TEMP: | 702 | case SHOW_SET_PWM_AUTO_CHANNELS_TEMP: |
701 | if (val < 1 || val > 7) { | 703 | if (val < 1 || val > 7) { |
702 | count = -EINVAL; | 704 | count = -EINVAL; |
703 | dev_warn(dev, "temp channel %ld not supported. " | 705 | dev_warn(dev, |
704 | "Choose a value between 1 and 7.\n", val); | 706 | "temp channel %ld not supported. Choose a value between 1 and 7.\n", |
707 | val); | ||
705 | goto EXIT; | 708 | goto EXIT; |
706 | } | 709 | } |
707 | if (!ISTEMP(val - 1, data->uch_config)) { | 710 | if (!ISTEMP(val - 1, data->uch_config)) { |
@@ -1325,15 +1328,15 @@ static int __init vt1211_init(void) | |||
1325 | 1328 | ||
1326 | if ((uch_config < -1) || (uch_config > 31)) { | 1329 | if ((uch_config < -1) || (uch_config > 31)) { |
1327 | err = -EINVAL; | 1330 | err = -EINVAL; |
1328 | pr_warn("Invalid UCH configuration %d. " | 1331 | pr_warn("Invalid UCH configuration %d. Choose a value between 0 and 31.\n", |
1329 | "Choose a value between 0 and 31.\n", uch_config); | 1332 | uch_config); |
1330 | goto EXIT; | 1333 | goto EXIT; |
1331 | } | 1334 | } |
1332 | 1335 | ||
1333 | if ((int_mode < -1) || (int_mode > 0)) { | 1336 | if ((int_mode < -1) || (int_mode > 0)) { |
1334 | err = -EINVAL; | 1337 | err = -EINVAL; |
1335 | pr_warn("Invalid interrupt mode %d. " | 1338 | pr_warn("Invalid interrupt mode %d. Only mode 0 is supported.\n", |
1336 | "Only mode 0 is supported.\n", int_mode); | 1339 | int_mode); |
1337 | goto EXIT; | 1340 | goto EXIT; |
1338 | } | 1341 | } |
1339 | 1342 | ||