media: v4l: Use memset_after() helper
authorXiu Jianfeng <xiujianfeng@huawei.com>
Mon, 13 Jun 2022 13:08:45 +0000 (14:08 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 11:01:08 +0000 (11:01 +0000)
commit0625b6b8233aac5232190be394ebacfa7e29b1bc
tree4ad2853c7b395cfa1bd43c54b5ccfd4f5d5f8950
parent928a6ea4267450c1b1baa4219f06b3756f4b1d84
media: v4l: Use memset_after() helper

The CLEAR_AFTER_FIELD defined here is functionally the same as
memset_after() helper, so replace it with memset_after() to simplify the
code, no functional change in this patch.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-ioctl.c