]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
gpu: do not double put device node in zx_drm_probe
authorzhong jiang <zhongjiang@huawei.com>
Fri, 17 Aug 2018 02:24:06 +0000 (10:24 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 19 Sep 2018 21:24:05 +0000 (14:24 -0700)
commite5264c433c8094d1723a011e1749bafcdac61beb
treecdbb44bcde7003511bf0109b74fd418fec4383df
parente884818cc0edb9bd128de95e7ca6b569f4667c0f
gpu: do not double put device node in zx_drm_probe

for_each_available_child_of_node will get and put the node properly,
the following of_node_put will lead to the double put. So just
remove it.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1534472646-10368-1-git-send-email-zhongjiang@huawei.com
drivers/gpu/drm/zte/zx_drm_drv.c