OSDN Git Service

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)
commitee7582431f49b6fbdd6f9307cf20ddddf42ceeaa
tree352d845131fe803d79bf82646aa2fb9c8e01e74a
parentf0a3fa2149e36cc2426bcb13a8bdcdbe592a6d2d
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