[media] V4L: Add v4l2_event_subdev_unsubscribe() helper function
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Tue, 22 Jan 2013 21:58:57 +0000 (18:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 17:04:55 +0000 (15:04 -0200)
commit4f4d14b70a29c679dd53e367b0d9b007a7117ee3
tree3d2acb71e2ea19fe4ee73e4b8c436d68f7aeea88
parent2ccbe779bcdee130ea7f1525670dc9d60318a981
[media] V4L: Add v4l2_event_subdev_unsubscribe() helper function

Add a v4l2 core helper function that can be used as the subdev
.unsubscribe_event handler. This allows to eliminate some
boilerplate from drivers that are only handling the control events.

Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-event.c
include/media/v4l2-event.h