From: Hans Verkuil Date: Sun, 27 Apr 2014 06:38:13 +0000 (-0300) Subject: [media] v4l2-ctrls: use ptrs for all but the s32 type X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~356 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a9ec3731137f973c6289698de6566a25418b96f;p=pandora-kernel.git [media] v4l2-ctrls: use ptrs for all but the s32 type Rather than having two unions for all types just keep 'val' and 'cur.val' and use the p_cur and p_new unions to access all others. The only reason for keeping 'val' and 'cur.val' is that it is used all over, so converting this as well would be a huge job. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed