diff options
Diffstat (limited to 'drivers/hwmon/thmc50.c')
-rw-r--r-- | drivers/hwmon/thmc50.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/hwmon/thmc50.c b/drivers/hwmon/thmc50.c index 4b59eb53b18a..db288db7d3e9 100644 --- a/drivers/hwmon/thmc50.c +++ b/drivers/hwmon/thmc50.c | |||
@@ -41,8 +41,8 @@ enum chips { thmc50, adm1022 }; | |||
41 | static unsigned short adm1022_temp3[16]; | 41 | static unsigned short adm1022_temp3[16]; |
42 | static unsigned int adm1022_temp3_num; | 42 | static unsigned int adm1022_temp3_num; |
43 | module_param_array(adm1022_temp3, ushort, &adm1022_temp3_num, 0); | 43 | module_param_array(adm1022_temp3, ushort, &adm1022_temp3_num, 0); |
44 | MODULE_PARM_DESC(adm1022_temp3, "List of adapter,address pairs " | 44 | MODULE_PARM_DESC(adm1022_temp3, |
45 | "to enable 3rd temperature (ADM1022 only)"); | 45 | "List of adapter,address pairs to enable 3rd temperature (ADM1022 only)"); |
46 | 46 | ||
47 | /* Many THMC50 constants specified below */ | 47 | /* Many THMC50 constants specified below */ |
48 | 48 | ||
@@ -312,8 +312,7 @@ static int thmc50_detect(struct i2c_client *client, | |||
312 | const char *type_name; | 312 | const char *type_name; |
313 | 313 | ||
314 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA)) { | 314 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA)) { |
315 | pr_debug("thmc50: detect failed, " | 315 | pr_debug("thmc50: detect failed, smbus byte data not supported!\n"); |
316 | "smbus byte data not supported!\n"); | ||
317 | return -ENODEV; | 316 | return -ENODEV; |
318 | } | 317 | } |
319 | 318 | ||