media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 14 Feb 2018 11:44:26 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:23:01 +0000 (20:23 +0100)
commita38becb087b20a34bdbfa63567f69671849025ad
tree33ac453c90ce0df41b8d745674fc5df7d49651d4
parent0b7d6ac53606ab9991b76e95ab3e54348b3b9b89
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c