You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wolfram Sang
fbae3fb154
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
...
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
e4a7b9b04d
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 <w.sang@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
15 years ago
..
88pm8607.c
regulator: use voltage number array in 88pm860x
15 years ago
Kconfig
regulator: Add max8925 support
15 years ago
Makefile
regulator: Add max8925 support
15 years ago
ab3100.c
mfd: AB3100 register access change to abx500 API
15 years ago
bq24022.c
Regulators: ab3100/bq24022: add a missing .owner field in regulator_desc
15 years ago
core.c
regulator: return set_mode is same mode is requested
15 years ago
da903x.c
regulator: keep index within bounds in da9034_get_ldo12_voltage()
15 years ago
dummy.c
regulator: Provide optional dummy regulator for consumers
15 years ago
dummy.h
regulator: Provide optional dummy regulator for consumers
15 years ago
fixed.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
lp3971.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
max1586.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
max8649.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
max8660.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
max8925-regulator.c
regulator: fix enabling regulator issue on max8925
15 years ago
mc13783-regulator.c
mc13783-regulator: fix vaild voltage range checking for mc13783_fixed_regulator_set_voltage
15 years ago
pcap-regulator.c
Regulators: pcap-regulator - clean up driver data after removal
15 years ago
pcf50633-regulator.c
mfd: Fix pcf50633-regulator drvdata usage
15 years ago
tps6507x-regulator.c
mfd: Add TPS6507x support
15 years ago
tps65023-regulator.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
twl-regulator.c
twl6030: regulator: Remove vsel tables and use formula for calculation
15 years ago
userspace-consumer.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
virtual.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
wm831x-dcdc.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
wm831x-isink.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
wm831x-ldo.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
wm8350-regulator.c
mfd: Add a data argument to the WM8350 IRQ free function
15 years ago
wm8400-regulator.c
Regulators: wm8400 - cleanup platform driver data handling
15 years ago
wm8994-regulator.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago