From: Marek Szyprowski Date: Tue, 3 Dec 2013 13:12:51 +0000 (-0300) Subject: [media] media: s5p_mfc: remove s5p_mfc_get_node_type() function X-Git-Tag: v3.14-rc1~20^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80cb8dc4162bc954cc71efec192ed89f2061573;p=pandora-kernel.git [media] media: s5p_mfc: remove s5p_mfc_get_node_type() function s5p_mfc_get_node_type() relies on get_index() helper function, which in turn relies on video_device index numbers assigned on driver registration. All this code is not really needed, because there is already access to respective video_device structures via common s5p_mfc_dev structure. This fixes the issues introduced by patch 1056e4388b0454917a512618c8416a98628fc9ce ("v4l2-dev: Fix race condition on __video_register_device"), which has been merged in v3.12-rc1. Signed-off-by: Marek Szyprowski Cc: stable@vger.kernel.org Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed