From: Hans Verkuil Date: Thu, 14 Mar 2013 10:40:45 +0000 (-0300) Subject: [media] v4l2-ioctl: simplify debug code X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~293 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505d04bdc43a6a6c828835e90ab5fcb380d631d5;p=pandora-kernel.git [media] v4l2-ioctl: simplify debug code The core debug code can now be simplified since all the write-only ioctls are now const and will not modify the data they pass to the drivers. So instead of logging write-only ioctls before the driver is called this can now be done afterwards, which is cleaner when it comes to error reporting as well. This also fixes a logic error in the debugging code where there was one 'else' too many. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed