summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-cobalt-raq.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-07-31 14:36:21 +0300
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-08-28 15:06:19 +0300
commite5b5a61fcb3743f1dacf9e20d28f48423cecf0c1 (patch)
tree957d8c7ed82f3796d1307b3bb300ad1c2507800f /drivers/leds/leds-cobalt-raq.c
parent4fc5af86837d983d7b1dd4edad245454e1874fa0 (diff)
downloadlinux-e5b5a61fcb3743f1dacf9e20d28f48423cecf0c1.tar.xz
leds/led-class: Add missing put_device()
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 <delicious.quinoa@gmail.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-cobalt-raq.c')
0 files changed, 0 insertions, 0 deletions