gpu: drm: rockchip_drm_drv: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Tue, 5 Jul 2016 02:04:48 +0000 (10:04 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 13:45:49 +0000 (15:45 +0200)
commit6d5fa28c13b9db69f4b7b8bd0cef49664f93d5a5
treeb7d501715d1ee32940e1e00fd38214e15a7e4687
parente8ef1b69a232c4711bc08fa4f6a1619b10f6e025
gpu: drm: rockchip_drm_drv: add missing of_node_put after calling of_parse_phandle

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: Mark Yao <mark.yao@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1467684294-20111-2-git-send-email-peter.chen@nxp.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.c