]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbc0357727c78c99ad0b096dab281f1053319f87d
tree3d2acb71e2ea19fe4ee73e4b8c436d68f7aeea88
parentbfd880eb67eb754f4e9a821718e0f759b293ca2b
[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