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-ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ad7877.c
Input: ad7877 - keep dma rx buffers in seperate cache lines
2010-05-13 00:43:32 -07:00
ad7879.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
2010-06-03 11:33:58 +02:00
ads7846.c
Input: ads7846 - return error on regulator_get() failure
2010-05-26 23:34:56 -07:00
atmel-wm97xx.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
atmel_tsadcc.c
Input: atmel_tsadcc - use platform parameters
2009-11-20 00:55:21 -08:00
da9034-ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
dynapro.c
Input: add driver for Dynapro serial touchscreen
2009-10-26 11:01:30 -07:00
eeti_ts.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
2010-06-03 11:33:58 +02:00
elo.c
Input: elo - switch to using dev_xxx() when printing messages
2010-01-06 23:54:40 -08:00
fujitsu_ts.c
get rid of input BIT* duplicate defines
2007-10-19 11:53:42 -07:00
gunze.c
Input: remove CVS keywords
2008-05-20 12:17:39 -04:00
h3600_ts_input.c
Input: serio - don't use serio->write() directly
2009-08-05 00:43:43 -07:00
hampshire.c
Input: add driver for hampshire serial touchscreens
2010-04-13 23:27:41 -07:00
hp680_ts_input.c
sh: Migrate common board headers to mach-common/.
2008-10-20 13:02:48 +09:00
htcpen.c
Input: add HTC Shift Touchscreen Driver
2008-06-02 00:38:35 -04:00
inexio.c
Input: Add driver for iNexio serial touchscreen.
2008-06-30 09:37:32 -04:00
jornada720_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
Kconfig
input: Touchscreen driver for TPS6507x
2010-05-28 01:37:38 +02:00
mainstone-wm97xx.c
Input: wm97xx - provide coordinate logs for accelerated I/O
2010-01-28 22:38:30 -08:00
Makefile
input: Touchscreen driver for TPS6507x
2010-05-28 01:37:38 +02:00
mc13783_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
mcs5000_ts.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
2010-06-03 11:33:58 +02:00
migor_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
mk712.c
Input: drop redundant includes of moduleparam.h
2008-01-21 01:11:07 -05:00
mtouch.c
get rid of input BIT* duplicate defines
2007-10-19 11:53:42 -07:00
pcap_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
penmount.c
get rid of input BIT* duplicate defines
2007-10-19 11:53:42 -07:00
s3c2410_ts.c
Input: s3c2410_ts - restore accidentially dropped s3c24xx ids
2010-05-27 09:19:31 -07:00
touchit213.c
Input: add driver for Tabletkiosk Sahara TouchIT-213 touchscreen
2008-07-07 12:00:30 -04:00
touchright.c
get rid of input BIT* duplicate defines
2007-10-19 11:53:42 -07:00
touchwin.c
get rid of input BIT* duplicate defines
2007-10-19 11:53:42 -07:00
tps6507x-ts.c
input: Touchscreen driver for TPS6507x
2010-05-28 01:37:38 +02:00
tsc2007.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
2010-06-03 11:33:58 +02:00
ucb1400_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
usbtouchscreen.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2010-05-27 09:19:55 -07:00
w90p910_ts.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
wacom_w8001.c
Input: wacom_w8001 - simplify querying logic
2009-09-03 20:38:37 -07:00
wm97xx-core.c
Input: wm9712 - fix wm97xx_set_gpio() logic
2010-05-19 10:13:35 -07:00
wm9705.c
Merge branch 'next' into for-linus
2008-10-15 23:29:12 -04:00
wm9712.c
Merge branch 'next' into for-linus
2008-10-15 23:29:12 -04:00
wm9713.c
Merge branch 'next' into for-linus
2008-10-15 23:29:12 -04:00
zylonite-wm97xx.c
Input: wm97xx - provide coordinate logs for accelerated I/O
2010-01-28 22:38:30 -08:00