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/w83627ehf.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/w83627ehf.c')
-rw-r--r-- | drivers/hwmon/w83627ehf.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index 0a89211c25f6..016027229e81 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -840,8 +840,8 @@ static struct w83627ehf_data *w83627ehf_update_device(struct device *dev) | |||
840 | && (reg >= 0xff || (sio_data->kind == nct6775 | 840 | && (reg >= 0xff || (sio_data->kind == nct6775 |
841 | && reg == 0x00)) | 841 | && reg == 0x00)) |
842 | && data->fan_div[i] < 0x07) { | 842 | && data->fan_div[i] < 0x07) { |
843 | dev_dbg(dev, "Increasing fan%d " | 843 | dev_dbg(dev, |
844 | "clock divider from %u to %u\n", | 844 | "Increasing fan%d clock divider from %u to %u\n", |
845 | i + 1, div_from_reg(data->fan_div[i]), | 845 | i + 1, div_from_reg(data->fan_div[i]), |
846 | div_from_reg(data->fan_div[i] + 1)); | 846 | div_from_reg(data->fan_div[i] + 1)); |
847 | data->fan_div[i]++; | 847 | data->fan_div[i]++; |
@@ -1110,9 +1110,9 @@ store_fan_min(struct device *dev, struct device_attribute *attr, | |||
1110 | */ | 1110 | */ |
1111 | data->fan_min[nr] = 254; | 1111 | data->fan_min[nr] = 254; |
1112 | new_div = 7; /* 128 == (1 << 7) */ | 1112 | new_div = 7; /* 128 == (1 << 7) */ |
1113 | dev_warn(dev, "fan%u low limit %lu below minimum %u, set to " | 1113 | dev_warn(dev, |
1114 | "minimum\n", nr + 1, val, | 1114 | "fan%u low limit %lu below minimum %u, set to minimum\n", |
1115 | data->fan_from_reg_min(254, 7)); | 1115 | nr + 1, val, data->fan_from_reg_min(254, 7)); |
1116 | } else if (!reg) { | 1116 | } else if (!reg) { |
1117 | /* | 1117 | /* |
1118 | * Speed above this value cannot possibly be represented, | 1118 | * Speed above this value cannot possibly be represented, |
@@ -1120,9 +1120,9 @@ store_fan_min(struct device *dev, struct device_attribute *attr, | |||
1120 | */ | 1120 | */ |
1121 | data->fan_min[nr] = 1; | 1121 | data->fan_min[nr] = 1; |
1122 | new_div = 0; /* 1 == (1 << 0) */ | 1122 | new_div = 0; /* 1 == (1 << 0) */ |
1123 | dev_warn(dev, "fan%u low limit %lu above maximum %u, set to " | 1123 | dev_warn(dev, |
1124 | "maximum\n", nr + 1, val, | 1124 | "fan%u low limit %lu above maximum %u, set to maximum\n", |
1125 | data->fan_from_reg_min(1, 0)); | 1125 | nr + 1, val, data->fan_from_reg_min(1, 0)); |
1126 | } else { | 1126 | } else { |
1127 | /* | 1127 | /* |
1128 | * Automatically pick the best divider, i.e. the one such | 1128 | * Automatically pick the best divider, i.e. the one such |
@@ -2396,15 +2396,15 @@ static int w83627ehf_probe(struct platform_device *pdev) | |||
2396 | en_vrm10 = superio_inb(sio_data->sioreg, | 2396 | en_vrm10 = superio_inb(sio_data->sioreg, |
2397 | SIO_REG_EN_VRM10); | 2397 | SIO_REG_EN_VRM10); |
2398 | if ((en_vrm10 & 0x08) && data->vrm == 90) { | 2398 | if ((en_vrm10 & 0x08) && data->vrm == 90) { |
2399 | dev_warn(dev, "Setting VID input " | 2399 | dev_warn(dev, |
2400 | "voltage to TTL\n"); | 2400 | "Setting VID input voltage to TTL\n"); |
2401 | superio_outb(sio_data->sioreg, | 2401 | superio_outb(sio_data->sioreg, |
2402 | SIO_REG_EN_VRM10, | 2402 | SIO_REG_EN_VRM10, |
2403 | en_vrm10 & ~0x08); | 2403 | en_vrm10 & ~0x08); |
2404 | } else if (!(en_vrm10 & 0x08) | 2404 | } else if (!(en_vrm10 & 0x08) |
2405 | && data->vrm == 100) { | 2405 | && data->vrm == 100) { |
2406 | dev_warn(dev, "Setting VID input " | 2406 | dev_warn(dev, |
2407 | "voltage to VRM10\n"); | 2407 | "Setting VID input voltage to VRM10\n"); |
2408 | superio_outb(sio_data->sioreg, | 2408 | superio_outb(sio_data->sioreg, |
2409 | SIO_REG_EN_VRM10, | 2409 | SIO_REG_EN_VRM10, |
2410 | en_vrm10 | 0x08); | 2410 | en_vrm10 | 0x08); |
@@ -2420,8 +2420,8 @@ static int w83627ehf_probe(struct platform_device *pdev) | |||
2420 | if (err) | 2420 | if (err) |
2421 | goto exit_release; | 2421 | goto exit_release; |
2422 | } else { | 2422 | } else { |
2423 | dev_info(dev, "VID pins in output mode, CPU VID not " | 2423 | dev_info(dev, |
2424 | "available\n"); | 2424 | "VID pins in output mode, CPU VID not available\n"); |
2425 | } | 2425 | } |
2426 | } | 2426 | } |
2427 | 2427 | ||
@@ -2795,8 +2795,7 @@ static int __init w83627ehf_find(int sioaddr, unsigned short *addr, | |||
2795 | /* Activate logical device if needed */ | 2795 | /* Activate logical device if needed */ |
2796 | val = superio_inb(sioaddr, SIO_REG_ENABLE); | 2796 | val = superio_inb(sioaddr, SIO_REG_ENABLE); |
2797 | if (!(val & 0x01)) { | 2797 | if (!(val & 0x01)) { |
2798 | pr_warn("Forcibly enabling Super-I/O. " | 2798 | pr_warn("Forcibly enabling Super-I/O. Sensor is probably unusable.\n"); |
2799 | "Sensor is probably unusable.\n"); | ||
2800 | superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); | 2799 | superio_outb(sioaddr, SIO_REG_ENABLE, val | 0x01); |
2801 | } | 2800 | } |
2802 | 2801 | ||