]> git.karo-electronics.de Git - linux-beck.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)
commita118e61edc3e54bd727a6f6d7193e40270cd3711
treef75a7f66c2aada9794bbb802706521a2d860ade6
parent1344bf74c93b87fdc5c8d4f1612470b4c3c2906f
[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