summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinconf-generic.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-03-08 10:11:54 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-03-15 03:21:27 +0300
commitdab4df9ca919f59e5b9dd84385eaf34d4f20dbb0 (patch)
treefa3beded85f6c428902b15936c8938e6541087f1 /drivers/pinctrl/pinconf-generic.c
parenta1d1e0e3d80a870cc37a6c064994b89e963d2b58 (diff)
downloadlinux-dab4df9ca919f59e5b9dd84385eaf34d4f20dbb0.tar.xz
pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. Fixes: a6df410d420a ("pinctrl: mediatek: Add Pinctrl/GPIO driver for mt8135.") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220308071155.21114-1-linmq006@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
0 files changed, 0 insertions, 0 deletions