aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2015-12-11 15:16:35 -0200
committerMauro Carvalho Chehab <[email protected]>2016-01-11 12:19:09 -0200
commit1cb2f6f4b1652ad4e19894a4b4b82b0c2ea8a4b6 (patch)
tree5e95f866d28a165c2843ec8345644fa074fa9c56 /tools/perf/scripts/python/export-to-postgresql.py
parent552faf4c083d8e86c6d86160ae3da0412280f690 (diff)
[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 <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions