[media] v4l: omap4iss: Simplify error paths
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 3 Nov 2013 23:28:24 +0000 (20:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Dec 2013 19:53:02 +0000 (17:53 -0200)
commit2b16b44a1c44814ed00cf750d20f3c404b5d4e48
tree5564e4a7b13e81eb4aa2411755528b343fd05e7b
parent245d6b2d505b0575b34e5c02b694bf2e476904b4
[media] v4l: omap4iss: Simplify error paths

Get rid of a goto statement for a simple error path that can be inlined,
and split spaghetti error code to a separate section.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/omap4iss/iss.c
drivers/staging/media/omap4iss/iss_video.c