Searched hist:"311066 aa9ebcd6f1789c829da5039ca02f2dfe46" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/leds/ |
H A D | leds-netxbig.c | diff 311066aa9ebcd6f1789c829da5039ca02f2dfe46 Thu Oct 29 10:23:05 CET 2020 Yu Kuai <yukuai3@huawei.com> leds: netxbig: add missing put_device() call in netxbig_leds_get_of_pdata()
if of_find_device_by_node() succeed, netxbig_leds_get_of_pdata() doesn't have a corresponding put_device(). Thus add jump target to fix the exception handling for this function implementation.
Fixes: 2976b1798909 ("leds: netxbig: add device tree binding") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
|