OSDN Git Service

gpu: drm: arcpgu_drv: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 15 Jul 2016 03:17:05 +0000 (11:17 +0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 15 Jul 2016 12:47:01 +0000 (08:47 -0400)
commit8e7446c36ffd43a19c8ca928899e835c527b615e
tree0d6374ab1fe67262ef45f09410cf3a0cab0383bf
parentd6a2d16bec2551d3b6481100c3da6843758f9820
gpu: drm: arcpgu_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: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/arc/arcpgu_drv.c