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/adm1026.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/adm1026.c')
-rw-r--r-- | drivers/hwmon/adm1026.c | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/drivers/hwmon/adm1026.c b/drivers/hwmon/adm1026.c index ea09046e651d..3a6d9ef1c16c 100644 --- a/drivers/hwmon/adm1026.c +++ b/drivers/hwmon/adm1026.c | |||
@@ -49,14 +49,14 @@ static int gpio_fan[8] = { -1, -1, -1, -1, -1, -1, -1, -1 }; | |||
49 | module_param_array(gpio_input, int, NULL, 0); | 49 | module_param_array(gpio_input, int, NULL, 0); |
50 | MODULE_PARM_DESC(gpio_input, "List of GPIO pins (0-16) to program as inputs"); | 50 | MODULE_PARM_DESC(gpio_input, "List of GPIO pins (0-16) to program as inputs"); |
51 | module_param_array(gpio_output, int, NULL, 0); | 51 | module_param_array(gpio_output, int, NULL, 0); |
52 | MODULE_PARM_DESC(gpio_output, "List of GPIO pins (0-16) to program as " | 52 | MODULE_PARM_DESC(gpio_output, |
53 | "outputs"); | 53 | "List of GPIO pins (0-16) to program as outputs"); |
54 | module_param_array(gpio_inverted, int, NULL, 0); | 54 | module_param_array(gpio_inverted, int, NULL, 0); |
55 | MODULE_PARM_DESC(gpio_inverted, "List of GPIO pins (0-16) to program as " | 55 | MODULE_PARM_DESC(gpio_inverted, |
56 | "inverted"); | 56 | "List of GPIO pins (0-16) to program as inverted"); |
57 | module_param_array(gpio_normal, int, NULL, 0); | 57 | module_param_array(gpio_normal, int, NULL, 0); |
58 | MODULE_PARM_DESC(gpio_normal, "List of GPIO pins (0-16) to program as " | 58 | MODULE_PARM_DESC(gpio_normal, |
59 | "normal/non-inverted"); | 59 | "List of GPIO pins (0-16) to program as normal/non-inverted"); |
60 | module_param_array(gpio_fan, int, NULL, 0); | 60 | module_param_array(gpio_fan, int, NULL, 0); |
61 | MODULE_PARM_DESC(gpio_fan, "List of GPIO pins (0-7) to program as fan tachs"); | 61 | MODULE_PARM_DESC(gpio_fan, "List of GPIO pins (0-7) to program as fan tachs"); |
62 | 62 | ||
@@ -372,31 +372,31 @@ static void adm1026_init_client(struct i2c_client *client) | |||
372 | dev_dbg(&client->dev, "ADM1026_REG_CONFIG1 is: 0x%02x\n", | 372 | dev_dbg(&client->dev, "ADM1026_REG_CONFIG1 is: 0x%02x\n", |
373 | data->config1); | 373 | data->config1); |
374 | if ((data->config1 & CFG1_MONITOR) == 0) { | 374 | if ((data->config1 & CFG1_MONITOR) == 0) { |
375 | dev_dbg(&client->dev, "Monitoring not currently " | 375 | dev_dbg(&client->dev, |
376 | "enabled.\n"); | 376 | "Monitoring not currently enabled.\n"); |
377 | } | 377 | } |
378 | if (data->config1 & CFG1_INT_ENABLE) { | 378 | if (data->config1 & CFG1_INT_ENABLE) { |
379 | dev_dbg(&client->dev, "SMBALERT interrupts are " | 379 | dev_dbg(&client->dev, |
380 | "enabled.\n"); | 380 | "SMBALERT interrupts are enabled.\n"); |
381 | } | 381 | } |
382 | if (data->config1 & CFG1_AIN8_9) { | 382 | if (data->config1 & CFG1_AIN8_9) { |
383 | dev_dbg(&client->dev, "in8 and in9 enabled. " | 383 | dev_dbg(&client->dev, |
384 | "temp3 disabled.\n"); | 384 | "in8 and in9 enabled. temp3 disabled.\n"); |
385 | } else { | 385 | } else { |
386 | dev_dbg(&client->dev, "temp3 enabled. in8 and " | 386 | dev_dbg(&client->dev, |
387 | "in9 disabled.\n"); | 387 | "temp3 enabled. in8 and in9 disabled.\n"); |
388 | } | 388 | } |
389 | if (data->config1 & CFG1_THERM_HOT) { | 389 | if (data->config1 & CFG1_THERM_HOT) { |
390 | dev_dbg(&client->dev, "Automatic THERM, PWM, " | 390 | dev_dbg(&client->dev, |
391 | "and temp limits enabled.\n"); | 391 | "Automatic THERM, PWM, and temp limits enabled.\n"); |
392 | } | 392 | } |
393 | 393 | ||
394 | if (data->config3 & CFG3_GPIO16_ENABLE) { | 394 | if (data->config3 & CFG3_GPIO16_ENABLE) { |
395 | dev_dbg(&client->dev, "GPIO16 enabled. THERM " | 395 | dev_dbg(&client->dev, |
396 | "pin disabled.\n"); | 396 | "GPIO16 enabled. THERM pin disabled.\n"); |
397 | } else { | 397 | } else { |
398 | dev_dbg(&client->dev, "THERM pin enabled. " | 398 | dev_dbg(&client->dev, |
399 | "GPIO16 disabled.\n"); | 399 | "THERM pin enabled. GPIO16 disabled.\n"); |
400 | } | 400 | } |
401 | if (data->config3 & CFG3_VREF_250) | 401 | if (data->config3 & CFG3_VREF_250) |
402 | dev_dbg(&client->dev, "Vref is 2.50 Volts.\n"); | 402 | dev_dbg(&client->dev, "Vref is 2.50 Volts.\n"); |
@@ -1798,8 +1798,8 @@ static int adm1026_detect(struct i2c_client *client, | |||
1798 | company = adm1026_read_value(client, ADM1026_REG_COMPANY); | 1798 | company = adm1026_read_value(client, ADM1026_REG_COMPANY); |
1799 | verstep = adm1026_read_value(client, ADM1026_REG_VERSTEP); | 1799 | verstep = adm1026_read_value(client, ADM1026_REG_VERSTEP); |
1800 | 1800 | ||
1801 | dev_dbg(&adapter->dev, "Detecting device at %d,0x%02x with" | 1801 | dev_dbg(&adapter->dev, |
1802 | " COMPANY: 0x%02x and VERSTEP: 0x%02x\n", | 1802 | "Detecting device at %d,0x%02x with COMPANY: 0x%02x and VERSTEP: 0x%02x\n", |
1803 | i2c_adapter_id(client->adapter), client->addr, | 1803 | i2c_adapter_id(client->adapter), client->addr, |
1804 | company, verstep); | 1804 | company, verstep); |
1805 | 1805 | ||
@@ -1811,11 +1811,12 @@ static int adm1026_detect(struct i2c_client *client, | |||
1811 | /* Analog Devices ADM1026 */ | 1811 | /* Analog Devices ADM1026 */ |
1812 | } else if (company == ADM1026_COMPANY_ANALOG_DEV | 1812 | } else if (company == ADM1026_COMPANY_ANALOG_DEV |
1813 | && (verstep & 0xf0) == ADM1026_VERSTEP_GENERIC) { | 1813 | && (verstep & 0xf0) == ADM1026_VERSTEP_GENERIC) { |
1814 | dev_err(&adapter->dev, "Unrecognized stepping " | 1814 | dev_err(&adapter->dev, |
1815 | "0x%02x. Defaulting to ADM1026.\n", verstep); | 1815 | "Unrecognized stepping 0x%02x. Defaulting to ADM1026.\n", |
1816 | verstep); | ||
1816 | } else if ((verstep & 0xf0) == ADM1026_VERSTEP_GENERIC) { | 1817 | } else if ((verstep & 0xf0) == ADM1026_VERSTEP_GENERIC) { |
1817 | dev_err(&adapter->dev, "Found version/stepping " | 1818 | dev_err(&adapter->dev, |
1818 | "0x%02x. Assuming generic ADM1026.\n", | 1819 | "Found version/stepping 0x%02x. Assuming generic ADM1026.\n", |
1819 | verstep); | 1820 | verstep); |
1820 | } else { | 1821 | } else { |
1821 | dev_dbg(&adapter->dev, "Autodetection failed\n"); | 1822 | dev_dbg(&adapter->dev, "Autodetection failed\n"); |