diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-12-11 17:16:35 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 14:19:09 (GMT) |
commit | 1cb2f6f4b1652ad4e19894a4b4b82b0c2ea8a4b6 (patch) | |
tree | 5e95f866d28a165c2843ec8345644fa074fa9c56 /Kconfig | |
parent | 552faf4c083d8e86c6d86160ae3da0412280f690 (diff) | |
download | linux-1cb2f6f4b1652ad4e19894a4b4b82b0c2ea8a4b6.tar.xz |
[media] uvcvideo: register entity subdev on init
The uvc_mc_register_entities() function iterated over the entities three
times to initialize the entities, register the subdev for the ones whose
type was UVC_TT_STREAMING and to create the entities links.
But this can be simplied by merging the init and registration logic in a
single loop.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions