]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-core: Rename array 'video_driver' to 'video_drivers'
authorSimon Que <sque@chromium.org>
Mon, 9 Apr 2018 19:47:38 +0000 (15:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 19:57:30 +0000 (15:57 -0400)
commit044c88e8dea87d6974f58976e327c189b90cb49f
tree352d845131fe803d79bf82646aa2fb9c8e01e74a
parent4df49004d02f337c134688dd15d7fc4027bc8945
media: v4l2-core: Rename array 'video_driver' to 'video_drivers'

Improves code clarity in two ways:
1. The plural name makes it more clear that it is an array.
2. The name of the array is now no longer identical to the struct type
name, so it is easier to find in the code.

Signed-off-by: Simon Que <sque@chromium.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-dev.c