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
..
Kconfig
leds: Kconfig fixes
15 years ago
Makefile
leds: Add mc13783 LED support
15 years ago
dell-led.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
led-class.c
leds: led-class: set permissions on max_brightness file to 0444
15 years ago
led-core.c
…
led-triggers.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-88pm860x.c
leds: 88pm860x - fix checking in probe function
15 years ago
leds-adp5520.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-alix2.c
leds: leds-alix2c - take port address from MSR
15 years ago
leds-ams-delta.c
omap: headers: Move remaining headers from include/mach to include/plat
16 years ago
leds-atmel-pwm.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-bd2802.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
leds-clevo-mail.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
16 years ago
leds-cobalt-qube.c
leds: use default-on trigger for Cobalt Qube
15 years ago
leds-cobalt-raq.c
leds: leds-cobalt-raq.c - use resource_size()
15 years ago
leds-da903x.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-dac124s085.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-fsg.c
IXP4xx: move FSG platform macros to the platform code.
15 years ago
leds-gpio.c
leds: Fix leds-gpio openfirmware compile issue
15 years ago
leds-h1940.c
…
leds-hp6xx.c
…
leds-locomo.c
collie: locomo-led change default trigger
15 years ago
leds-lp3944.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
leds-lt3593.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-mc13783.c
leds: Add mc13783 LED support
15 years ago
leds-net48xx.c
…
leds-net5501.c
leds: Add LED driver for the Soekris net5501 board
15 years ago
leds-pca955x.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
leds-pca9532.c
i2c: Remove all i2c_set_clientdata(client, NULL) in drivers
15 years ago
leds-pwm.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-rb532.c
…
leds-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
leds-s3c24xx.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-ss4200.c
leds: leds-ss4200: fix led_classdev_unregister twice in error handling
15 years ago
leds-sunfire.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-wm831x-status.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-wm8350.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
leds-wrap.c
…
leds.h
…
ledtrig-backlight.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
ledtrig-default-on.c
…
ledtrig-gpio.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
ledtrig-heartbeat.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
ledtrig-ide-disk.c
…
ledtrig-timer.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago