media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 14 Feb 2018 12:03:15 +0000 (13:03 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 3 Mar 2018 15:51:05 +0000 (15:51 +0000)
commit6e5253f46b0c661be373d9e7da49b46ebfd756cb
treee2e6375a98098cd7eeae11a569e795df1b73edea
parent5188fc724dca92cca2f157f30d4eb63d83f28e28
media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32

commit 486c521510c44a04cd756a9267e7d1e271c8a4ba upstream.

These helper functions do not really help. Move the code to the
__get/put_v4l2_format32 functions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
[bwh: Rebased on top of some earlier fixes]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/media/video/v4l2-compat-ioctl32.c