[media] smiapp: Split off sub-device registration into two
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 5 Sep 2016 13:21:10 +0000 (10:21 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 16:55:31 +0000 (14:55 -0200)
commit2fca9ca0d6fb172ab4c01f506fc864f2881b6f80
tree1f5ba27b5ad619788983604a3d3bb8fda6c6014b
parent6d8d61fe661aa6466ed709e5459cd3255dea87b9
[media] smiapp: Split off sub-device registration into two

Remove the loop in sub-device registration and create each sub-device
explicitly instead.

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