19 Feb, 2019

1 commit

  • In preparation to enabling -Wimplicit-fallthrough, mark switch
    cases where we are expecting to fall through.

    This patch fixes the following warnings:

    drivers/hwmon/f71882fg.c: In function ‘f71882fg_probe’:
    drivers/hwmon/f71882fg.c:2457:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
    data->auto_point_temp_signed = 1;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
    drivers/hwmon/f71882fg.c:2459:3: note: here
    case f71889fg:
    ^~~~

    Warning level 3 was used: -Wimplicit-fallthrough=3

    Notice that, in this particular case, the code comment is modified
    in accordance with what GCC is expecting to find.

    This patch is part of the ongoing efforts to enable
    -Wimplicit-fallthrough.

    Signed-off-by: Gustavo A. R. Silva
    Signed-off-by: Guenter Roeck

    Gustavo A. R. Silva
     

03 Jan, 2017

1 commit

  • Use DEVICE_ATTR_RO for read-only 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
     

10 Aug, 2015

4 commits

  • Add f81768d (id 0x1210) currently found on Jetway motherboards.
    It has 11 voltages but otherwise needed no special handling
    in this driver.

    Signed-off-by: George Joseph
    Signed-off-by: Guenter Roeck

    George Joseph
     
  • The f81866a voltage-1 protector(VIN1) address
    is differ from f71882.

    f71882 status:12H, beep:13H, v-high:32H
    f81866a status:16H, beep:17H, v-high:3aH

    Signed-off-by: Peter Hung
    Signed-off-by: Guenter Roeck

    Peter Hung
     
  • The temperature value of Fintek F81866 is the same with
    f71882fg. It located with 0x6c + 2*(nr), others located
    with 0x6c + 2*(nr+1). We change the rule in f71882fg_probe(),
    If type = f71858fg/f8000/f81866a. the temp_start will set to 0,
    others are 1.

    The F81866 over-temperature beep setting is not the same with
    f71882fg too. They are using the same address 63H, but F81866 is
    using bit 0/1/2 & 4/5/6, others are using bit 1/2/3 & 5/6/7,
    So we copy from fxxxx_temp_beep_attr[] to f81866_temp_beep_attr
    and change bit setting.

    Signed-off-by: Peter Hung
    Signed-off-by: Guenter Roeck

    Peter Hung
     
  • Add New Fintek SuperIO F81866(0x1010) & F71868(0x1106)
    with H/W Monitor functions.

    We increased F71882FG_MAX_INS from 9 to 10 to read
    F71868 10 voltage sets.

    Signed-off-by: Peter Hung
    Signed-off-by: Guenter Roeck

    Peter Hung
     

20 Oct, 2014

1 commit


14 Oct, 2013

1 commit


12 Aug, 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
     

29 Nov, 2012

1 commit

  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Hans de Goede
    Cc: Jean Delvare
    Cc: Alistair John Strachan
    Cc: Fenghua Yu
    Cc: Juerg Haefliger
    Cc: Andreas Herrmann
    Cc: Clemens Ladisch
    Cc: Rudolf Marek
    Cc: Jim Cromie
    Cc: "Mark M. Hoffman"
    Cc: Roger Lucas
    Acked-by: Guenter Roeck
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

24 Sep, 2012

2 commits


19 Mar, 2012

2 commits


06 Jan, 2012

1 commit


25 Oct, 2011

3 commits


03 Jul, 2011

2 commits


26 May, 2011

2 commits


26 Mar, 2011

5 commits


15 Mar, 2011

10 commits


13 Mar, 2011

2 commits