summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-12-21 17:38:02 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-04-08 12:14:27 +0300
commitecaa4902222fd4d28692203bec028513fbac29c7 (patch)
tree5a403d0f2647f067f1a9a744ebf58a10853d3283 /drivers/gpu/drm/rockchip/rockchip_drm_vop.c
parent4af642d5bf75c726c874a198daf742589db30981 (diff)
downloadlinux-ecaa4902222fd4d28692203bec028513fbac29c7.tar.xz
drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break
Using the for_each_... macro should make the code a bit shorter and easier to read. Also, when breaking out of the loop, the endpoint node reference count needs to be decremented. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_vop.c')
0 files changed, 0 insertions, 0 deletions