1. 21 5月, 2012 4 次提交
  2. 27 11月, 2011 1 次提交
  3. 23 8月, 2011 1 次提交
    • G
      hwmon: (ntc_thermistor) Simplify if sequence · 858a9143
      Guenter Roeck 提交于
      Replace unnecessary if with else statement.
      
      This fixes the following (false) compile warning reported with some combinations
      of C compiler version and configuration.
      
      drivers/hwmon/ntc_thermistor.c: In function 'ntc_show_temp':
      drivers/hwmon/ntc_thermistor.c:225: warning: 'low' may be used uninitialized in
      this function
      drivers/hwmon/ntc_thermistor.c:225: note: 'low' was declared here
      drivers/hwmon/ntc_thermistor.c:225: warning: 'high' may be used uninitialized in
      this function
      drivers/hwmon/ntc_thermistor.c:225: note: 'high' was declared here
      drivers/hwmon/ntc_thermistor.c:294: warning: 'temp' may be used uninitialized in
      this function
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      858a9143
  4. 28 7月, 2011 1 次提交