13 Aug, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (22 commits)
    regulator: Remove default DEBUG define from TPS6586x
    regulator: tps6507x - add missing platform_set_drvdata in tps6507x_pmic_probe
    regulator: tps6586x - add regulator_unregister() in tps6586x_regulator_remove()
    mfd: max8998 - fix incorrect kfree(i2c) in i2c_driver probe callback handler
    regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
    regulator: max8660 - fix a memory leak in max8660_remove()
    regulator: max1586 - fix a memory leak in max1586_pmic_remove()
    regulator: Default GPIO controlled WM8994 regulators to disabled
    regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
    max8998: fix off-by-one value range checking
    regulator: tps6586x: fix millivolt return values and SM2 table
    regulator: tps6586x: add dependancy on MFD_TPS6585x
    regulator: add TPS6586X regulator driver
    regulator: MAX8998: set_voltage bugfix. ramp_up delay and min/max voltage
    regulator: add support for regulators on the ab8500 MFD
    ab8500-mfd: add regulator support to ab8500 mfd device
    tps65023: Allow registering similar TPS65021
    drivers: regulators: depend on MFD_MAX8998
    drivers: regulator: add Maxim 8998 driver
    ISL6271A voltage regulator support.
    ...

    Linus Torvalds
     

12 Aug, 2010

33 commits


11 Aug, 2010

3 commits


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
     

28 May, 2010

2 commits