diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-05-11 19:30:33 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-06-25 14:11:01 +0200 |
commit | 3b770932eefb7c0c6319d332023efee87eb12913 (patch) | |
tree | 1166ed177ec2e321ff447865923a75f07868d1c4 /drivers/usb/dwc3/dwc3-pci.c | |
parent | 424d8237945c6c448c8b3f23885d464fb5685c97 (diff) |
HID: thrustmaster: Switch to kmemdup() when allocate change_request
Use kmemdup() helper instead of open-coding to
simplify the code when allocate change_request.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
0 files changed, 0 insertions, 0 deletions