From: Laurent Pinchart Date: Thu, 22 Sep 2011 19:54:34 +0000 (-0300) Subject: [media] omap3isp: Move media_entity_cleanup() from unregister() to cleanup() X-Git-Tag: v3.2-rc1~63^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b4ca23ed2b35742bebf8cb2af49b84b24442c6;p=pandora-kernel.git [media] omap3isp: Move media_entity_cleanup() from unregister() to cleanup() The media_entity_cleanup() function belong to the module cleanup handlers, not the entity registration handlers. Move it there. Create a omap3isp_video_cleanup() function to cleanup the video node entity, and call it from the module cleanup handlers. Rename omap3isp_stat_free() to omap3isp_stat_cleanup(). Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed