]> 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)
commitd31609ac631e934bde119e45a58eda105d835d26
tree352d845131fe803d79bf82646aa2fb9c8e01e74a
parent1da647100e86ad7d180626b05521a36bc5ad15f0
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