]> git.baikalelectronics.ru Git - kernel.git/commit
[media] smiapp: Unify setting up sub-devices
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 7 Sep 2016 11:55:34 +0000 (08:55 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:07:38 +0000 (15:07 -0200)
commit0f6d6a4d51d6a867c4ce07c712599bfdf6bc3e77
treef75a7f66c2aada9794bbb802706521a2d860ade6
parentf5130fa215e15c99b338935d94da6122b2d2737f
[media] smiapp: Unify setting up sub-devices

The initialisation of the source sub-device is somewhat different as it's
not created by the smiapp driver itself. Remove redundancy in initialising
the two kind of sub-devices.

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