Files
linux/drivers/leds
Dmitry Eremin-Solenikov 0b4634fce1 leds-gpio: fix possible crash on OF device unbinding
If there are leds present in the OF tree, but the GPIOs for (some) of
them are unavailable, led_data doesn't get populated with correct
devices. Then, on device unbinding, one can crash the kernel.

Workaround this by setting led->gpio to invalid value early.

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
2009-11-16 11:50:42 +00:00
..
2009-09-07 14:37:27 +01:00
2009-09-07 14:37:27 +01:00
2009-09-07 14:33:33 +01:00