media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 14 Feb 2018 11:48:21 +0000 (12:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Feb 2018 12:21:16 +0000 (13:21 +0100)
commit81e0acf07015dbd3e0b45e8f8a053d64b804bb46
tree21678e632fb534706323d67d735f5514c7eb612e
parent02129c9bc23582a48194e89cbbeb15169115b8b9
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