From: Sylwester Nawrocki Date: Mon, 12 Dec 2011 18:45:56 +0000 (-0300) Subject: [media] m5mols: Don't ignore v4l2_ctrl_handler_setup() return value X-Git-Tag: v3.3-rc1~48^2~393 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d4294b8ddf92092ffad61fe552adeeabb4242bd;p=pandora-kernel.git [media] m5mols: Don't ignore v4l2_ctrl_handler_setup() return value v4l2_ctrl_handler_setup() may fail so check its return value when restoring controls after device is powered on. While at it simplify the m5mols_restore_function() a bit. Acked-by: HeungJun Kim Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed