Commit 311066aa authored by Yu Kuai's avatar Yu Kuai Committed by Pavel Machek
Browse files

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: 2976b179

 ("leds: netxbig: add device tree binding")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 12ec7e56
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment