07 Feb, 2013

1 commit


26 Jan, 2013

1 commit

  • SENSORS_LIMIT and the generic clamp_val have the same functionality,
    and clamp_val is more efficient.

    This patch reduces text size by 9052 bytes and bss size by 11624 bytes
    for x86_64 builds.

    Signed-off-by: Guenter Roeck
    Acked-by: George Joseph
    Acked-by: Jean Delvare

    Guenter Roeck
     

28 Jul, 2012

2 commits

  • Restoring the configuration register on device removal has the side
    effect of also resetting the hysteresis value. This is inconsistent as
    the other limits are not reset, only hysteresis. So, following the
    principle of least surprise, preserve the hysteresis value when
    restoring the configuration register.

    Signed-off-by: Jean Delvare
    Cc: Guenter Roeck
    Signed-off-by: Guenter Roeck

    Jean Delvare
     
  • Define JC42_CFG_HYST_MASK as the mask _before_ shifting instead of
    after shifting. This simplifies the current code slightly, and will
    simplify the code to come even more.

    Signed-off-by: Jean Delvare
    Cc: Guenter Roeck
    Signed-off-by: Guenter Roeck

    Jean Delvare
     

25 Jun, 2012

1 commit


19 Mar, 2012

4 commits


08 Mar, 2012

2 commits


09 Jan, 2012

1 commit

  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    max1111.c: fix checkpatch warning
    hwmon: (lm75) fix checkpatch warnings
    hwmon: (lm80) fix checkpatch messages
    hwmon: replaced strict_str* with kstr*
    hwmon: (lm75) fix checkpatch warning
    hwmon: (lm75) added error handling
    hwmon: (ltc4261) set data->valid to 0 if error
    hwmon: (f75375s) Add support for F75387SG/RG
    hwmon: (f75375s) Disable setting DC fan control mode for F75373
    hwmon: (f75375s) Initialize pwmX_mode and pwmX_enable if there is no platform data
    hwmon: (f75375s) Fix value range for PWM modes
    hwmon: (f75375s) Use standard sysfs attribute names
    hwmon: (f75375s) Fix checkpatch errors and warnings
    hwmon: (pmbus/zl6100) Only instantiate external temperature sensor if enabled
    hwmon: (pmbus/zl6100) Add support for Ericsson BMR45[0,1] and BMR46[2,3,4]
    hwmon: (pmbus/zl6100) Add support for ZL2005
    hwmon: (pmbus/adm1275) Validate device ID

    Linus Torvalds
     

06 Jan, 2012

1 commit


04 Jan, 2012

1 commit


04 Nov, 2011

1 commit

  • Make use of the new i2c_smbus_{read,write}_word_swapped functions.
    This makes the driver code more compact and readable. It also ensures
    proper error handling.

    Signed-off-by: Jean Delvare
    Acked-by: Jonathan Cameron
    Acked-by: Guenter Roeck
    Cc: Dirk Eibach
    Cc: "Mark M. Hoffman"
    Cc: Guillaume Ligneul

    Jean Delvare
     

26 May, 2011

1 commit


17 Feb, 2011

2 commits

  • On systems where the temperature sensor is actually used, the BIOS is
    likely to have locked the alarm registers. In that case, all writes
    through the corresponding sysfs files would be silently ignored.

    To prevent this, detect the locks and make the affected sysfs files
    read-only.

    Signed-off-by: Clemens Ladisch
    Cc: stable@kernel.org
    Signed-off-by: Guenter Roeck

    Clemens Ladisch
     
  • In set_temp_crit_hyst(), make the variable 'val' have the correct
    type for strict_strtoul().

    Signed-off-by: Clemens Ladisch
    Cc: stable@kernel.org
    Signed-off-by: Guenter Roeck

    Clemens Ladisch
     

10 Aug, 2010

1 commit