Skip to content
Commit 89cce2b3 authored by Yu Kuai's avatar Yu Kuai Committed by Linus Walleij
Browse files

pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe()



if of_find_device_by_node() succeed, pinctrl_falcon_probe() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.

Fixes: e316cb2b ("OF: pinctrl: MIPS: lantiq: adds support for FALCON SoC")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20201119011219.2248232-1-yukuai3@huawei.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 43bb48c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment