[media] smiapp: Return correct return value in smiapp_registered()
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 4 May 2014 00:31:57 +0000 (21:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 14:41:28 +0000 (11:41 -0300)
commit24644035d52a9da2af319dd05b1a580a0a7069a0
treeb6258e089e7fe35859f349a9a4b2be347e720cf4
parent9945374e6d2ff63efe903dedb3d04f18c18efafc
[media] smiapp: Return correct return value in smiapp_registered()

Prepare for supporting systems using the Device tree. Should the resources
not be available at the time of driver probe(), the EPROBE_DEFER error code
must be also returned from its probe function.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c