aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ibmpex.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-01-10 13:01:24 -0500
committerGuenter Roeck <linux@roeck-us.net>2013-04-08 00:16:40 -0400
commitb55f375725ff85aada394da488802b0a3cc99e88 (patch)
tree571a8883b647a53901e102ee24c5c21cab342f49 /drivers/hwmon/ibmpex.c
parent088ce2ac9ebac5c74faf4d39083627875fa6f0f0 (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/ibmpex.c')
-rw-r--r--drivers/hwmon/ibmpex.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/hwmon/ibmpex.c b/drivers/hwmon/ibmpex.c
index b622a93ec32c..74b365ea01c7 100644
--- a/drivers/hwmon/ibmpex.c
+++ b/drivers/hwmon/ibmpex.c
@@ -163,8 +163,8 @@ static int ibmpex_ver_check(struct ibmpex_bmc_data *data)
163 data->sensor_major = data->rx_msg_data[0]; 163 data->sensor_major = data->rx_msg_data[0];
164 data->sensor_minor = data->rx_msg_data[1]; 164 data->sensor_minor = data->rx_msg_data[1];
165 165
166 dev_info(data->bmc_device, "Found BMC with sensor interface " 166 dev_info(data->bmc_device,
167 "v%d.%d %d-%02d-%02d on interface %d\n", 167 "Found BMC with sensor interface v%d.%d %d-%02d-%02d on interface %d\n",
168 data->sensor_major, 168 data->sensor_major,
169 data->sensor_minor, 169 data->sensor_minor,
170 extract_value(data->rx_msg_data, 2), 170 extract_value(data->rx_msg_data, 2),
@@ -478,8 +478,9 @@ static void ibmpex_register_bmc(int iface, struct device *dev)
478 err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs, 478 err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs,
479 data, &data->user); 479 data, &data->user);
480 if (err < 0) { 480 if (err < 0) {
481 dev_err(dev, "Unable to register user with IPMI " 481 dev_err(dev,
482 "interface %d\n", data->interface); 482 "Unable to register user with IPMI interface %d\n",
483 data->interface);
483 goto out; 484 goto out;
484 } 485 }
485 486
@@ -501,8 +502,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev)
501 data->hwmon_dev = hwmon_device_register(data->bmc_device); 502 data->hwmon_dev = hwmon_device_register(data->bmc_device);
502 503
503 if (IS_ERR(data->hwmon_dev)) { 504 if (IS_ERR(data->hwmon_dev)) {
504 dev_err(data->bmc_device, "Unable to register hwmon " 505 dev_err(data->bmc_device,
505 "device for IPMI interface %d\n", 506 "Unable to register hwmon device for IPMI interface %d\n",
506 data->interface); 507 data->interface);
507 goto out_user; 508 goto out_user;
508 } 509 }
@@ -567,8 +568,8 @@ static void ibmpex_msg_handler(struct ipmi_recv_msg *msg, void *user_msg_data)
567 struct ibmpex_bmc_data *data = (struct ibmpex_bmc_data *)user_msg_data; 568 struct ibmpex_bmc_data *data = (struct ibmpex_bmc_data *)user_msg_data;
568 569
569 if (msg->msgid != data->tx_msgid) { 570 if (msg->msgid != data->tx_msgid) {
570 dev_err(data->bmc_device, "Mismatch between received msgid " 571 dev_err(data->bmc_device,
571 "(%02x) and transmitted msgid (%02x)!\n", 572 "Mismatch between received msgid (%02x) and transmitted msgid (%02x)!\n",
572 (int)msg->msgid, 573 (int)msg->msgid,
573 (int)data->tx_msgid); 574 (int)data->tx_msgid);
574 ipmi_free_recv_msg(msg); 575 ipmi_free_recv_msg(msg);