06 Jan, 2012

1 commit


29 Oct, 2010

1 commit

  • We can mark normal_i2c const. Almost all drivers do that already, so
    fix the 3 remaining ones before they are used as (bad) examples for
    new drivers.

    Signed-off-by: Jean Delvare
    Cc: George Joseph
    Reviewed-by: Guenter Roeck

    Jean Delvare
     

15 Aug, 2010

1 commit


03 Jun, 2010

1 commit

  • I2C drivers can use the clientdata-pointer to point to private data. As I2C
    devices are not really unregistered, but merely detached from their driver, it
    used to be the drivers obligation to clear this pointer during remove() or a
    failed probe(). As a couple of drivers forgot to do this, it was agreed that it
    was cleaner if the i2c-core does this clearance when appropriate, as there is
    no guarantee for the lifetime of the clientdata-pointer after remove() anyhow.
    This feature was added to the core with commit
    e4a7b9b04de15f6b63da5ccdd373ffa3057a3681 to fix the faulty drivers.

    As there is no need anymore to clear the clientdata-pointer, remove all current
    occurrences in the drivers to simplify the code and prevent confusion.

    Signed-off-by: Wolfram Sang
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Richard Purdie
    Acked-by: Dmitry Torokhov
    Signed-off-by: Jean Delvare

    Wolfram Sang
     

11 May, 2010

1 commit

  • * Allow fan minimum RPM to be set to zero without triggering alarms.
    * Fix voltage scaling arithmetic and correct scale factors.
    * Correct fan1-fan4 alarm bit shifts.
    * Correct register address for temp3_smoothing_enable.
    * Read the alarm registers with high priority.

    Signed-off-by: Ken Milmore
    Signed-off-by: Jean Delvare

    Ken Milmore
     

06 Mar, 2010

1 commit