[media] v4l: subdev: Unify argument validation across IOCTLs
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 4 Jun 2014 11:22:03 +0000 (08:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 04:01:46 +0000 (01:01 -0300)
commitb225e398f622c5f5579fb4fd14f8bcb0f953e650
treeb13fecaa9b7104954403bfdfc9ce30fd4816d769
parent6c5bba9b0ae140e76782fcd4d3dd83fa6d6db417
[media] v4l: subdev: Unify argument validation across IOCTLs

Separate validation of different argument types. There's no reason to do
this separately for every IOCTL.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-subdev.c