Commit 1d9bcf6a authored by Guenter Roeck's avatar Guenter Roeck Committed by Jean Delvare

hwmon: (it87) Avoid quoted string splits across lines

Fix the respective checkpatch warnings.
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent e1169ba0
...@@ -644,8 +644,8 @@ static ssize_t set_temp_type(struct device *dev, struct device_attribute *attr, ...@@ -644,8 +644,8 @@ static ssize_t set_temp_type(struct device *dev, struct device_attribute *attr,
reg &= ~(1 << nr); reg &= ~(1 << nr);
reg &= ~(8 << nr); reg &= ~(8 << nr);
if (val == 2) { /* backwards compatibility */ if (val == 2) { /* backwards compatibility */
dev_warn(dev, "Sensor type 2 is deprecated, please use 4 " dev_warn(dev,
"instead\n"); "Sensor type 2 is deprecated, please use 4 instead\n");
val = 4; val = 4;
} }
/* 3 = thermal diode; 4 = thermistor; 0 = disabled */ /* 3 = thermal diode; 4 = thermistor; 0 = disabled */
...@@ -847,8 +847,8 @@ static int check_trip_points(struct device *dev, int nr) ...@@ -847,8 +847,8 @@ static int check_trip_points(struct device *dev, int nr)
} }
if (err) { if (err) {
dev_err(dev, "Inconsistent trip points, not switching to " dev_err(dev,
"automatic mode\n"); "Inconsistent trip points, not switching to automatic mode\n");
dev_err(dev, "Adjust the trip points and try again\n"); dev_err(dev, "Adjust the trip points and try again\n");
} }
return err; return err;
...@@ -2176,8 +2176,8 @@ static int it87_check_pwm(struct device *dev) ...@@ -2176,8 +2176,8 @@ static int it87_check_pwm(struct device *dev)
* PWM interface). * PWM interface).
*/ */
if (!((pwm[0] | pwm[1] | pwm[2]) & 0x80)) { if (!((pwm[0] | pwm[1] | pwm[2]) & 0x80)) {
dev_info(dev, "Reconfiguring PWM to " dev_info(dev,
"active high polarity\n"); "Reconfiguring PWM to active high polarity\n");
it87_write_value(data, IT87_REG_FAN_CTL, it87_write_value(data, IT87_REG_FAN_CTL,
tmp | 0x87); tmp | 0x87);
for (i = 0; i < 3; i++) for (i = 0; i < 3; i++)
...@@ -2187,16 +2187,16 @@ static int it87_check_pwm(struct device *dev) ...@@ -2187,16 +2187,16 @@ static int it87_check_pwm(struct device *dev)
return 1; return 1;
} }
dev_info(dev, "PWM configuration is " dev_info(dev,
"too broken to be fixed\n"); "PWM configuration is too broken to be fixed\n");
} }
dev_info(dev, "Detected broken BIOS " dev_info(dev,
"defaults, disabling PWM interface\n"); "Detected broken BIOS defaults, disabling PWM interface\n");
return 0; return 0;
} else if (fix_pwm_polarity) { } else if (fix_pwm_polarity) {
dev_info(dev, "PWM configuration looks " dev_info(dev,
"sane, won't touch\n"); "PWM configuration looks sane, won't touch\n");
} }
return 1; return 1;
...@@ -2508,8 +2508,7 @@ static void __exit sm_it87_exit(void) ...@@ -2508,8 +2508,7 @@ static void __exit sm_it87_exit(void)
} }
MODULE_AUTHOR("Chris Gauthron, " MODULE_AUTHOR("Chris Gauthron, Jean Delvare <khali@linux-fr.org>");
"Jean Delvare <khali@linux-fr.org>");
MODULE_DESCRIPTION("IT8705F/IT871xF/IT872xF hardware monitoring driver"); MODULE_DESCRIPTION("IT8705F/IT871xF/IT872xF hardware monitoring driver");
module_param(update_vbat, bool, 0); module_param(update_vbat, bool, 0);
MODULE_PARM_DESC(update_vbat, "Update vbat if set else return powerup value"); MODULE_PARM_DESC(update_vbat, "Update vbat if set else return powerup value");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment