media: v4l2-ctrl: Initialize _BUTTON and _CTRL_CLASS
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 6 Jun 2019 16:12:53 +0000 (12:12 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:18:33 +0000 (16:18 -0400)
commit4b1f67dc8edcb4a1e8a1d141609d89fa7d430d46
tree862c2ee50a38238eb16904bf0ee681a2c7c10d1b
parent882f261874c9aa3792e37d631342e84c84766dd0
media: v4l2-ctrl: Initialize _BUTTON and _CTRL_CLASS

These two control types don't really need a default value,
as they are not expected to carry any value.

However, it's slightly clearer to initialize them explicitly
instead of falling back to the switch default.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c