media: v4l2: convert v4l2_format compat ioctls
authorArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 16:55:27 +0000 (17:55 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:06 +0000 (10:31 +0100)
commit566f960d3c5e1f63482298b60a80de4d3cd75d68
tree650cc111ded0e65d75a40d039f9a6e35a8c15e3e
parent3f65c6f67e8813448d7e3cfd3470b0f8c15bfaea
media: v4l2: convert v4l2_format compat ioctls

Now that the 'clips' array is accessed by common code in the native
ioctl handler, the same can be done for the compat version, greatly
simplifying the compat code for these four ioctl commands.

[hverkuil: fix: CHECK: Alignment should match open parenthesis]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c