[media] v4l2-ctrls/event: remove struct v4l2_ctrl_fh, instead use v4l2_subscribed_event
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 13 Jun 2011 21:55:58 +0000 (18:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:31 +0000 (17:53 -0300)
commit77068d36d8b9e9902a89b4bb01011d41926f5420
tree4fde4974ce56e52acac5c7c8d873d300e946adcc
parent523f46d6aba9dcb0a2d0fc474ca884e93a7cf198
[media] v4l2-ctrls/event: remove struct v4l2_ctrl_fh, instead use v4l2_subscribed_event

The v4l2_ctrl_fh struct connected v4l2_ctrl with v4l2_fh so the control
would know which filehandles subscribed to it. However, it is much easier
to use struct v4l2_subscribed_event directly for that and get rid of that
intermediate struct.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-event.c
include/media/v4l2-ctrls.h
include/media/v4l2-event.h