[media] v4l: vsp1: Propagate vsp1_device_get errors to the callers
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 31 May 2014 11:50:32 +0000 (08:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:52 +0000 (12:44 -0300)
commit4c16d6a079a4c9a64d664cc9c30ebae5f0bd0c64
tree0ae47bb0a9962fcd2f00d9f973cbd1df88acfe34
parent1499be67a545fb6f41acb5614b8e4732147cec50
[media] v4l: vsp1: Propagate vsp1_device_get errors to the callers

Modify the vsp1_device_get() function to return an error code instead of
a pointer to the VSP1 device, and use the return value in the callers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1.h
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_video.c