From: Philipp Zabel Date: Mon, 1 Dec 2014 12:32:32 +0000 (+0100) Subject: of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint X-Git-Tag: omap-for-v4.2/o2_dc~25^2~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f033c0bcc53675562200680f4cb4a86710d9fbae;p=pandora-kernel.git of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. All current users of this function that pass a non-NULL prev parameter (that is, soc_camera and imx-drm) are changed to not decrement the passed prev argument's refcount themselves. Signed-off-by: Philipp Zabel Acked-by: Mauro Carvalho Chehab Acked-by: Mathieu Poirier Acked-by: Laurent Pinchart Acked-by: Tomi Valkeinen --- Reading git-diff-tree failed