kernel-fxtec-pro1x/drivers/video/backlight
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_bl.c backlight: 88pm860x_bl: fix error handling in pm860x_backlight_probe 2010-05-26 17:34:37 +01:00
adp5520_bl.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
adp8860_bl.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
adx_bl.c backlight: backlight_device_register() return ERR_PTR() 2010-05-26 13:08:31 +01:00
atmel-pwm-bl.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
backlight.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
corgi_lcd.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
cr_bllcd.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
da903x_bl.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
ep93xx_bl.c backlight: Add Cirrus EP93xx backlight driver 2010-05-26 13:08:32 +01:00
generic_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
hp680_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
ili9320.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
ili9320.h fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
jornada720_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
jornada720_lcd.c backlight: Add HP Jornada 700 series LCD driver 2009-04-06 16:06:55 +01:00
kb3886_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
Kconfig backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
l4f00242t03.c backlight: l4f00242t03: fix error handling in l4f00242t03_probe 2010-05-26 17:34:35 +01:00
lcd.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
lms283gf05.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
locomolcd.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
ltv350qv.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
ltv350qv.h backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
Makefile backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
max8925_bl.c backlight: max8925_bl: Fix error handling path 2010-05-26 17:34:36 +01:00
mbp_nvidia_bl.c backlight: mbp_nvidia_bl - Fix DMI_SYS_VENDOR for MacBook1,1 2010-05-26 13:08:32 +01:00
omap1_bl.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
pcf50633-backlight.c backlight: Add pcf50633 backlight driver 2010-05-26 17:34:38 +01:00
platform_lcd.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
progear_bl.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
pwm_bl.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
s6e63m0.c backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
tdo24m.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
tosa_bl.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
tosa_lcd.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
vgg2432a4.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
wm831x_bl.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