]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: drm: sun4i_drv: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Tue, 5 Jul 2016 02:04:53 +0000 (10:04 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 07:20:29 +0000 (09:20 +0200)
commitc4ee829dfce4250a358b7990243b9c1bfde5db5c
tree319b7292a4d86c53a9df29a59be9c5fd569b6344
parent472db8403aeabe41ea91445e6d918833cfa6fd2e
gpu: drm: sun4i_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: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_drv.c