[media] smiapp: Move sub-device initialisation into a separate function
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 5 Sep 2016 12:39:45 +0000 (09:39 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 16:17:36 +0000 (14:17 -0200)
commitb7547ef8670057b1143e9a47a300180db97a0e5b
treeaa089c5f2e51876579bf9923cc568f922dda94ff
parent669c6141ea78dff885b5bf025456c7dffb669a61
[media] smiapp: Move sub-device initialisation into a separate function

Simplify smiapp_init() by moving the initialisation of individual
sub-devices to a separate function.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c