Skip to content
Commit 3b770932 authored by Yang Yingliang's avatar Yang Yingliang Committed by Jiri Kosina
Browse files

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: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 424d8237
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment