kernel-ark/drivers/mfd
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>
2010-06-03 11:33:58 +02:00
..
88pm860x-core.c mfd: Section cleanup of 88pm860x driver 2010-05-28 01:37:31 +02:00
88pm860x-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab3100-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab3100-otp.c mfd: AB3100 register access change to abx500 API 2010-05-28 01:37:45 +02:00
ab3550-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
ab8500-core.c mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
ab8500-spi.c mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
abx500-core.c mfd: AB3100 register access change to abx500 API 2010-05-28 01:37:45 +02:00
adp5520.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
asic3.c
da903x.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
davinci_voicecodec.c
dm355evm_msp.c
ezx-pcap.c
htc-egpio.c
htc-i2cpld.c
htc-pasic3.c
janz-cmodio.c mfd: Janz CMOD-IO PCI MODULbus Carrier Board support 2010-05-28 01:37:32 +02:00
Kconfig mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
lpc_sch.c
Makefile mfd: New AB8500 driver 2010-05-28 01:38:00 +02:00
max8925-core.c mfd: Delay to mask tsc irq in max8925 2010-05-28 01:37:41 +02:00
max8925-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
mc13783-core.c
mcp-core.c
mcp-sa11x0.c
menelaus.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
mfd-core.c
pcf50633-adc.c mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read 2010-05-28 01:37:49 +02:00
pcf50633-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
pcf50633-gpio.c
pcf50633-irq.c mfd: Move pcf50633 irq related functions to its own file. 2010-05-28 01:37:50 +02:00
rdc321x-southbridge.c mfd: Change rdc321x resources flags to IORESOURCE_IO 2010-05-28 01:37:52 +02:00
sh_mobile_sdhi.c
sm501.c
t7l66xb.c
tc6387xb.c
tc6393xb.c
tc35892.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
timberdale.c mfd: Storage class for timberdale should be before const qualifier 2010-05-28 01:38:01 +02:00
timberdale.h mfd: Add timb-dma to all configurations of timberdale 2010-05-28 01:37:31 +02:00
tmio_core.c
tps6507x.c input: Touchscreen driver for TPS6507x 2010-05-28 01:37:38 +02:00
tps65010.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
twl4030-codec.c
twl4030-irq.c mfd: Rename twl5031 sih modules 2010-05-28 01:38:02 +02:00
twl4030-power.c
twl6030-irq.c
twl-core.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c
wm831x-core.c mfd: Ensure WM831x charger interrupts are acknowledged when suspending 2010-05-28 01:37:39 +02:00
wm831x-irq.c mfd: Initialise WM831x IRQ masks on chip even if interrupts not in use 2010-05-28 01:37:38 +02:00
wm831x-otp.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
wm8994-core.c
wm8994-irq.c