1. 16 11月, 2010 3 次提交
    • J
      hwmon: (w83795) Fix fan control mode attributes · ae51cd9b
      Jean Delvare 提交于
      There were two bugs:
      * Speed cruise mode was improperly reported for all fans but fan1.
      * Fan control method (PWM vs. DC) was mixed with the control mode.
        It will be added back as a separate attribute, as per the standard
        sysfs interface.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      ae51cd9b
    • J
      hwmon: (lm95241) Check validity of input values · 61ec2da5
      Jean Delvare 提交于
      This clears the following build-time warnings I was seeing:
      
      drivers/hwmon/lm95241.c: In function "set_interval":
      drivers/hwmon/lm95241.c:132:15: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_max2":
      drivers/hwmon/lm95241.c:278:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_max1":
      drivers/hwmon/lm95241.c:277:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_min2":
      drivers/hwmon/lm95241.c:249:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_min1":
      drivers/hwmon/lm95241.c:248:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_type2":
      drivers/hwmon/lm95241.c:220:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      drivers/hwmon/lm95241.c: In function "set_type1":
      drivers/hwmon/lm95241.c:219:1: warning: ignoring return value of "strict_strtol", declared with attribute warn_unused_result
      
      This also fixes a small race in set_interval() as a side effect: by
      working with a temporary local variable we prevent data->interval from
      being accessed at a time it contains the interval value in the wrong
      unit.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Davide Rizzo <elpa.rizzo@gmail.com>
      61ec2da5
    • H
      hwmon: Change mail address of Hans J. Koch · 2aa25c22
      Hans J. Koch 提交于
      My old mail address doesn't exist anymore. This changes all occurrences
      to my new address.
      Signed-off-by: NHans J. Koch <hjk@hansjkoch.de>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      2aa25c22
  2. 14 11月, 2010 6 次提交
  3. 13 11月, 2010 31 次提交