Re: [PATCH v2] leds/led-class: Add missing put_device()

2015-07-31 Thread Jacek Anaszewski
Hi Ricardo, Thanks for the update. On 31.07.2015 13:36, Ricardo Ribalda Delgado wrote: Devices found by class_find_device must be freed with put_device(). Otherwise the reference count will not work properly. Fixes: a96aa64cb572 ("leds/led-class: Handle LEDs with the same name") Reported-by: A

[PATCH v2] leds/led-class: Add missing put_device()

2015-07-31 Thread Ricardo Ribalda Delgado
Devices found by class_find_device must be freed with put_device(). Otherwise the reference count will not work properly. Fixes: a96aa64cb572 ("leds/led-class: Handle LEDs with the same name") Reported-by: Alan Tull Signed-off-by: Ricardo Ribalda Delgado --- Thanks Alan for the initial report an