diff options
author | 2023-08-10 19:52:20 +0800 | |
---|---|---|
committer | 2023-09-27 09:40:01 +0200 | |
commit | d27bb0246e5356dbef4d923e72c680bf893885a8 (patch) | |
tree | cdd3869abbb7b709c2f367fd6dc3ca6ea7e896bc /include/uapi/linux/v4l2-controls.h | |
parent | media: cx25840: simplify cx23885_dif_setup() (diff) | |
download | wireguard-linux-d27bb0246e5356dbef4d923e72c680bf893885a8.tar.xz wireguard-linux-d27bb0246e5356dbef4d923e72c680bf893885a8.zip |
media: nxp: Use devm_kmemdup to replace devm_kmalloc + memcpy
Use the helper function devm_kmemdup() rather than duplicating its
implementation, which helps to enhance code readability.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi/linux/v4l2-controls.h')
0 files changed, 0 insertions, 0 deletions