19 Feb, 2019

1 commit

  • Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
    to improve readability, and to reduce the chance of inconsistencies.

    Also replace any remaining S_ in the driver with octal values.

    The conversion was done automatically with coccinelle. The semantic patches
    and the scripts used to generate this commit log are available at
    https://github.com/groeck/coccinelle-patches/hwmon/.

    This patch does not introduce functional changes. It was verified by
    compiling the old and new files and comparing text and data sizes.

    Signed-off-by: Guenter Roeck

    Guenter Roeck
     

17 Dec, 2018

1 commit


03 Jan, 2017

1 commit

  • Use DEVICE_ATTR_RW for read/write attributes. This simplifies the source
    code, improves readbility, and reduces the chance of inconsistencies.

    The conversion was done automatically using coccinelle. It was validated
    by compiling both the old and the new source code and comparing its text,
    data, and bss size.

    Signed-off-by: Julia Lawall
    [groeck: Updated description]
    Signed-off-by: Guenter Roeck

    Julia Lawall
     

09 Sep, 2016

2 commits

  • The fan can be stopped by writing "3" to pwm1_enable in sysfs.

    Add devicetree property for early initialization of the fan controller
    to prevent overheating, for example when resetting the board while the
    fan was completely turned off.

    Also improve error reporting, I2C failures were ignored while writing
    new values.

    Signed-off-by: Mike Looijmans
    Signed-off-by: Guenter Roeck

    Mike Looijmans
     
  • Parse devicetree parameters for voltage and prescaler setting. This allows
    using multiple max6550 devices with varying settings, and also makes it
    possible to instantiate and configure the device using devicetree.

    Signed-off-by: Mike Looijmans
    Signed-off-by: Guenter Roeck

    Mike Looijmans
     

04 Mar, 2014

4 commits


19 Oct, 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
     

22 Jul, 2012

1 commit


19 Mar, 2012

3 commits


04 Jan, 2012

1 commit


26 May, 2011

2 commits


16 Nov, 2010

1 commit


15 Dec, 2009

3 commits


10 Dec, 2009

1 commit

  • As kind is now hard-coded to -1, there is room for code clean-ups.

    Signed-off-by: Jean Delvare
    Acked-by: Corentin Labbe
    Cc: "Mark M. Hoffman"
    Cc: Juerg Haefliger
    Cc: Riku Voipio
    Acked-by: "Hans J. Koch"
    Cc: Rudolf Marek

    Jean Delvare
     

11 Jul, 2009

1 commit


16 Jun, 2009

1 commit


17 Jul, 2008

1 commit


19 Feb, 2008

1 commit


10 Oct, 2007

1 commit


08 May, 2007

1 commit