From: Guennadi Liakhovetski Date: Wed, 24 Jun 2009 13:31:25 +0000 (-0300) Subject: V4L/DVB (12160): soc-camera: fix missing clean up on error path X-Git-Tag: v2.6.31-rc3~74^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c06950ae4dccf59566fec7ae269aaeb24685c16c;p=pandora-kernel.git V4L/DVB (12160): soc-camera: fix missing clean up on error path If soc_camera_init_user_formats() fails in soc_camera_probe(), we have to call client's .remove() method to unregister the video device. Reported-by: Kuninori Morimoto Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed