]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ioctl.c: introduce INFO_FL_CLEAR to replace switch
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 9 Jun 2012 11:55:31 +0000 (08:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:17:30 +0000 (17:17 -0300)
commitd938fd1823a9686407a33aa4e1bb145c345847c9
treef72347600e5fe939bfd07462ea41ab38ffb1e1a4
parent226beeb5d5fa764b143ed82403871af0ab8753e2
[media] v4l2-ioctl.c: introduce INFO_FL_CLEAR to replace switch

The switch statement that determines how much data should be copied from
userspace is replaced by a table lookup.

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